Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 94%

CVE-2026-40256: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in WeblateOrg weblate

0
Medium
VulnerabilityCVE-2026-40256cvecve-2026-40256cwe-22
Published: Wed Apr 15 2026 (04/15/2026, 18:36:44 UTC)
Source: CVE Database V5
Vendor/Project: WeblateOrg
Product: weblate

Description

CVE-2026-40256 is a path traversal vulnerability in Weblate versions prior to 5. 17. The issue arises because repository-boundary validation uses string prefix checks on absolute paths without proper path-segment awareness, allowing bypass when an external path shares the same prefix as the repository path. This vulnerability has been fixed in Weblate version 5. 17. The CVSS score is 5. 0, indicating a medium severity level.

CVSS v3.1

Score 5.0medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 23:11:30 UTC

Technical Analysis

Weblate before version 5.17 performs repository-boundary validation by checking if resolved absolute paths start with the repository root path using a simple string prefix check. This method is not path-segment aware, meaning that an attacker can bypass the check if an external path shares the same string prefix as the repository path (e.g., 'repo' and 'repo_outside'). This improper limitation of pathname to a restricted directory (CWE-22) can lead to unauthorized access to files outside the intended repository boundaries. The vulnerability was addressed and fixed in version 5.17.

Potential Impact

An attacker with at least low privileges (PR:L) can exploit this vulnerability remotely (AV:N) without user interaction (UI:N) to gain read access to files outside the intended repository directory. The impact is limited to confidentiality (C:L) with no integrity or availability impact. The vulnerability can lead to exposure of sensitive information stored outside the repository root.

Mitigation Recommendations

Upgrade Weblate to version 5.17 or later, where this path traversal vulnerability has been fixed. Since the vendor advisory confirms the fix in version 5.17, applying this official update is the recommended remediation. Patch status is confirmed by the vendor's versioning information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T17:31:45.787Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69dfe0a382d89c981f8dff9e

Added to database: 4/15/2026, 7:01:55 PM

Last enriched: 4/22/2026, 11:11:30 PM

Last updated: 5/31/2026, 5:33:57 AM

Views: 71

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses