Vulnerability · Published May 11, 2026 · Assigned by VulDB
CVE-2026-8274npitre cramfs-tools Directory cramfsck.c do_directory path traversal
Medium 5.3
In plain English
A medium-severity path traversal in cramfs-tools from npitre. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).
Official description
A security vulnerability has been detected in npitre cramfs-tools up to 2.1. Affected is the function do_directory of the file cramfsck.c of the component Directory Handler. Such manipulation leads to path traversal. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. Upgrading to version 2.2 is able to address this issue. The name of the patch is 2fc492747115b24d8a07eddd27a2d45229cb273c. Upgrading the affected component is recommended.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| npitre | cramfs-tools | 2.02.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-362571 | npitre cramfs-tools Directory cramfsck.c do_directory path traversal vdb-entry, technical-description
- VDB-362571 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #810864 | GNU cramfs-tools V2.1 Improper Limitation of a Pathname to a Restricted Directory third-party-advisory
- https://github.com/npitre/cramfs-tools/issues/12 issue-tracking
- https://github.com/npitre/cramfs-tools/issues/12#issue-4307511739 exploit, issue-tracking
- https://github.com/npitre/cramfs-tools/commit/2fc492747115b24d8a07eddd27a2d45229cb273c patch
- https://github.com/npitre/cramfs-tools/releases/tag/v2.2 patch
- https://github.com/npitre/cramfs-tools/ product