CVE-2026-5124 osrg GoBGP BGP Header bgp.go BGPHeader.DecodeFromBytes access control

Medium 6.3 Published Updated

Remote attackers can bypass access controls in GoBGP's BGP header decoding, requiring high complexity and difficult exploitation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-5124?

CVE-2026-5124 is a medium-severity missing authorization vulnerability in osrg GoBGP, published on 30 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A security vulnerability has been detected in osrg GoBGP up to 4.3.0. Affected is the function BGPHeader.DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP Header Handler. The manipulation leads to improper access controls. Remote exploitation of the attack is possible. The attack is considered to have high complexity. The exploitability is told to be difficult. The identifier of the patch is f0f24a2a901cbf159260698211ab15c583ced131. To fix this issue, it is recommended to deploy a patch.

Weakness: CWE-284, CWE-266

Which versions are affected by CVE-2026-5124?

It affects 1 product.

Products include Osrg Gobgp.

How do I fix CVE-2026-5124?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-5124 being exploited?

There is no known exploitation of CVE-2026-5124 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-5124, GHSA-688c-h9c2-ffwg, UBUNTU-CVE-2026-5124.

Is CVE-2026-5124 in your software?

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

Check your SBOMs for free