CVE-2026-50181
Last modified
CVE-2026-50181 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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 sequences such as `../secret.txt` to read files outside the configured current directory, or `../written_by_tool.txt` to write files outside that directory. This can impact applications that expose Langroid file tools to an LLM agent, user-controlled tool call, or delegated coding/documentation agent while relying on `curr_dir` to restrict file access to a project/workspace directory. Version 0.64.0 patches the issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| langroid | langroid | < 0.64.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50181?
How severe is CVE-2026-50181?
How do I fix CVE-2026-50181?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50171Angular is a development platform for building mobile and de…6.1
- CVE-2026-50176The WebSocket Application Programming Interface lacks restri…8.7
- CVE-2026-50178The Angular Language Service VS Code Extension provides a ri…8.8
- CVE-2026-50179Actual is a local-first personal finance tool. Prior to 26.6…4.2
- CVE-2026-5018A weakness has been identified in code-projects Simple Food …9.8
- CVE-2026-50180Langroid is a framework for building large-language-model-po…8.7
- CVE-2026-50182WWBN AVideo is an open source video platform. Versions prior…6.1
- CVE-2026-50183WWBN AVideo is an open source video platform. Versions 29.0 …4.7
- CVE-2026-50184Angular is a development platform for building mobile and de…6.1
- CVE-2026-50185RustCrypto CMOV provides conditional move CPU intrinsics whi…2
- CVE-2026-50188Kirby is an open-source content management system. Prior to …6.9
- CVE-2026-50189Appsmith is a platform to build admin panels, internal tools…7.2
Are you affected by CVE-2026-50181?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
