libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
CVE-2026-136907Published 25 Nov 2026, 14:51 UTC
Real-world risk
0.6/ 10Low
Routine
If the vulnerable configuration applies to you: 1.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in ly_in_filepath() in src/in.c that reports success when a new file cannot be opened or mapped. Attackers who make an application switch a reused input handler to a nonexistent or empty file cause it to parse the previously loaded file's data as the requested input.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| libyangNiche | <= 6.4.13 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.6% chance of exploitation in 30 days (percentile 52), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.2025 × threat 0.950.577
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 25 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-393
References
- https://github.com/CESNET/libyang/issues/2598exploit, issue-tracking
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0patch
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316technical-description
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepaththird-party-advisory
- CVE-2026-136907 on CVE.org