Skip to main content
VulnerabilityPublished

CVE-2026-5124: osrg GoBGP · Improper Access Controls

Affects osrg GoBGPSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
osrgGoBGPAffected
  • 4.0 – 4.3.0
4 affected builds
Fixed in–
Gogithub.com/osrg/gobgppkg:golang/github.com/osrg/gobgpOther threatsAffected
  • 4.0 – 4.3.0
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately apply the official patch identified by commit f0f24a2a901cbf159260698211ab15c583ced131 to all affected GoBGP instances.
  2. Implement strict network segmentation and filtering to limit exposure of BGP ports (typically TCP 179) to trusted peers only, reducing the attack surface.
  3. Employ BGP session authentication mechanisms such as TCP MD5 signatures or TCP-AO to prevent unauthorized BGP session establishment.
  4. Monitor BGP session logs and routing updates for anomalies indicative of exploitation attempts or unauthorized access.
  5. Use network intrusion detection systems (NIDS) with signatures tailored to detect malformed BGP packets targeting the DecodeFromBytes function.
  6. Regularly update GoBGP and related network software to incorporate security patches and improvements.
  7. Conduct periodic security audits and penetration tests focused on BGP infrastructure to identify and remediate potential weaknesses.
  8. Establish incident response procedures specifically for BGP routing incidents to quickly mitigate any exploitation impact.

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.

References

Community reviews

Loading reviews…