Home / jrspruitt / ubi_reader / CVE-2023-0591
CVE-2023-0591: is it exploited, and which versions of jrspruitt ubi_reader are affected and fixed?
CVE-2023-0591 is a path traversal (reading or writing files outside the intended folder) vulnerability in jrspruitt ubi_reader. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: ubi-reader before 0.8.5 (GitHub advisory GHSA-vp2x-3mc3-3cj4). Fixed in 0.8.5 (GitHub advisory GHSA-vp2x-3mc3-3cj4). Severity: Medium (5.5, CVSS 3.1, from ONEKEY).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-0591?
Path Traversal in ubi_reader
ubireader_extract_files is vulnerable to path traversal when run against specifically crafted UBIFS files, allowing the attacker to overwrite files outside of the extraction directory (provided the process has write access to that file or directory). This is due to the fact that a node name (dent_node.name) is considered trusted and joined to the extraction directory path during processing, then the node content is written to that joined path. By crafting a malicious UBIFS file with node names holding path traversal payloads (e.g. ../../tmp/outside.txt), it's possible to force ubi_reader to write outside of the extraction directory. This issue affects ubi-reader before 0.8.5.
From the CVE record by ONEKEY, last updated March 26, 2025, 20:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jrspruitt | ubi_reader ubi-reader | before 0.8.5 | 0.8.5 |
As the CVE record by ONEKEY states it, last updated March 26, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ubi-reader | < 0.8.5 | 0.8.5 | GHSA-vp2x-3mc3-3cj4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Path traversal in ubi-reader.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ubi reader project | ubi reader | before 0.8.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:25 UTC.
How severe is CVE-2023-0591?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | ONEKEY |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-0591 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 26, 2025)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
How do I fix it? (from the CVE record)
Upgrade to version 0.8.5
Where are the vendor advisories and references?
- https://github.com/jrspruitt/ubi_reader/pull/57
- https://onekey.com/blog/security-advisory-remote-command-execution-in-binwalk/
Who found and reported it?
- Quentin Kaiser from ONEKEY Research Labs (finder)
- Jason Pruitt (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 31, 2023
- Published
- January 31, 2023, 09:18 UTC
- CVE record updated
- March 26, 2025, 20:38 UTC by ONEKEY
- NVD
- Modified, last modified June 17, 2026, 05:25 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-0591
Is CVE-2023-0591 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of jrspruitt ubi_reader are affected by CVE-2023-0591?
ubi-reader before 0.8.5, per the GitHub advisory GHSA-vp2x-3mc3-3cj4. The tables above give every range the sources list.
Which version fixes CVE-2023-0591?
0.8.5, per the GitHub advisory GHSA-vp2x-3mc3-3cj4. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-0591?
Medium (5.5, CVSS 3.1, from ONEKEY). The severity table above shows each score with its source.
Where is the official record of CVE-2023-0591?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.