Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionCVE.org
A vulnerability was detected in p2r3 convert up to 6998584ace3e11db66dff0b423612a5cf91de75b. Affected is the function Bun.serve of the file buildCache.js of the component API. Performing a manipulation of the argument pathname results in path traversal. It is possible to initiate the attack remotely. The exploit is now public and may be used. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The vendor was contacted early about this disclosure but did not respond in any way.
AnalysisAI
Path traversal in p2r3 convert's Bun.serve API endpoint allows authenticated remote attackers to access arbitrary files on the server by manipulating the pathname parameter in buildCache.js. The vulnerability affects all versions up to commit 6998584ace3e11db66dff0b423612a5cf91de75b, with publicly available exploit code and no vendor patch forthcoming due to non-response from the maintainer. CVSS score of 5.3 reflects limited scope (confidentiality only) but the public exploit and authenticated attack vector present moderate operational risk.
Technical ContextAI
The vulnerability exists in the Bun.serve API handler within buildCache.js, where user-supplied pathname arguments are processed without proper canonicalization or validation against directory traversal sequences (../ or equivalent). This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw. The Bun JavaScript runtime's serve function appears to accept HTTP request parameters that directly influence file system access operations. The p2r3 convert tool (CPE: cpe:2.3:a:p2r3:convert:*:*:*:*:*:*:*:*) uses rolling releases without version tagging, making patch tracking impossible through conventional means. The attack leverages the API endpoint directly, requiring network access but only to an authenticated user.
RemediationAI
No vendor-released patch is available, as the maintainer has not responded to early disclosure and continues rolling releases without tagged security fixes. Organizations must implement one or more of the following compensating controls: (1) Restrict API access via network-level controls-limit exposure of the Bun.serve endpoint to trusted internal networks only, using firewall rules or reverse proxy authentication (trade-off: may impact legitimate remote access); (2) Implement input validation at the reverse proxy layer-block requests with pathname parameters containing ../, %2e%2e, or other directory traversal sequences before they reach the Bun.serve handler (trade-off: requires maintenance as bypass techniques evolve); (3) Run p2r3 convert in a restricted filesystem container (Docker/chroot) with minimal permissions, limiting the attacker's ability to read sensitive files outside the application directory (trade-off: container deployment required); (4) Fork the upstream repository and apply a local patch that sanitizes pathname inputs using path.normalize() or path.resolve() with a base directory constraint, then deploy the patched version (trade-off: maintenance burden on your team). Do not rely on file permission restrictions alone-if the application process runs with broad read permissions, traversal can succeed. Consult the GitHub advisory at https://github.com/Dave-gilmore-aus/security-advisories/blob/main/convert-advisory for additional context and any community-provided patches.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-23842
GHSA-42cc-jrr3-ghpw