CVE Explorer
CVE-2026-50181
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.64.0, Langroid's `ReadFileTool` and `WriteFileTool` appear to treat `curr_dir` as the intended working-directory boundary for file operations. However, the tools only change the process working directory to `curr_dir` and then operate on the user-supplied `file_path` without resolving and enforcing that the final path remains inside `curr_dir`. As a result, a tool caller can supply path traversal s
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-23","description":"CWE-23: Relative Path Traversal","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"langroid","vendor":"langroid","versions":[{"status":"affected","version":"< 0.64.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-23","description":"CWE-23: Relative Path Traversal","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/langroid/langroid/commit/56e2756ecab70a70a7e6edbee2f2187b8484683e","tags":["x_refsource_MISC"],"url":"https://github.com/langroid/langroid/commit/56e2756ecab70a70a7e6edbee2f2187b8484683e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/references/1
{"name":"https://github.com/langroid/langroid/security/advisories/GHSA-fg23-3346-88f5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/langroid/langroid/security/advisories/GHSA-fg23-3346-88f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/langroid/langroid/security/advisories/GHSA-fg23-3346-88f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:153d0497cf759fafe58c3a4d05246d783294428ffc6e6fe7c786a2bfa10b1207 · sha256:eccda2d23d66bf4e… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.