Path traversal in tough - CVE-2021-41150

 

Path traversal in tough - CVE-2021-41150

Published: October 19, 2021 / Updated: April 25, 2026


Vulnerability identifier: #VU127897
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-41150
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to overwrite arbitrary .json files on the system.

The vulnerability exists due to improper sanitization of delegated role names in repository caching and filesystem loading logic when caching a repository or loading a repository from the filesystem. A local user can use crafted delegated role names to overwrite arbitrary .json files on the system.


Affected software

tough

How to mitigate CVE-2021-41150

Install security update from vendor's website.

tough - update to 0.12.0

External References

Related Security Bulletins