CVE-2026-136907 libyang through 6.4.13 Wrong Status Code in ly_in_filepath()

Published Updated

Applications switching libyang's input handler to a nonexistent file may still parse the previous file, exposing stale data.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-136907?

CVE-2026-136907 is a medium-severity security feature bypass vulnerability in CESNET libyang, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-393

How severe is CVE-2026-136907?

CVE-2026-136907 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-136907?

1 open source package ship an affected version, including cesnet/libyang.

An affected version is only exploitable if your software calls ly_in_filepath(). Many projects that include it are not exposed.

PackageAffectedFixed in
cesnet/libyang GitHub
pkg:github/cesnet/libyang
All versions to 6.4.13None

How do I fix CVE-2026-136907?

No fix has been published for CVE-2026-136907 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-136907 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-136907 exists.

Sources

Also known as AZL-116173, GHSA-3fmm-4mh3-vx58, UBUNTU-CVE-2026-136907.

Is CVE-2026-136907 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free