Path traversal in verdaccio - #VU159445

 

Path traversal in verdaccio - #VU159445

Published: November 5, 2026


Vulnerability identifier: #VU159445
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-49
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass package access restrictions, disclose private scoped package contents, publish unauthorized versions, change distribution tags, and delete packages or individual tarballs.

The vulnerability exists due to inconsistent handling of trailing slashes in Verdaccio's package permission checks and storage resolution when processing requests containing scoped package names. A remote user can append a trailing slash to a package name, such as @my-company/secrets/, to bypass the package-specific authorization rule because permissions are checked against the original name while storage resolves it to the protected package, enabling unauthorized reading, modification, and deletion of package data.

Exploitation requires the ** catch-all rule to be more permissive than the specific package rule.


Affected software

verdaccio

Remediation

Install security update from vendor's website.

verdaccio - update to 6.10.1

External References

Related Security Bulletins