CVE-2026-5124: osrg GoBGP · Improper Access Controls
Affects osrg GoBGPSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- 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:XExploitation evidence
Disclosed: evidence found.
CVE published 30 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| osrgGoBGP | Affected
| Fixed in– |
Gogithub.com/osrg/gobgppkg:golang/github.com/osrg/gobgpOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately apply the official patch identified by commit f0f24a2a901cbf159260698211ab15c583ced131 to all affected GoBGP instances.
- Implement strict network segmentation and filtering to limit exposure of BGP ports (typically TCP 179) to trusted peers only, reducing the attack surface.
- Employ BGP session authentication mechanisms such as TCP MD5 signatures or TCP-AO to prevent unauthorized BGP session establishment.
- Monitor BGP session logs and routing updates for anomalies indicative of exploitation attempts or unauthorized access.
- Use network intrusion detection systems (NIDS) with signatures tailored to detect malformed BGP packets targeting the DecodeFromBytes function.
- Regularly update GoBGP and related network software to incorporate security patches and improvements.
- Conduct periodic security audits and penetration tests focused on BGP infrastructure to identify and remediate potential weaknesses.
- 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
- vuldb.com/vuln/354156 (opens in a new tab)
- vuldb.com/vuln/354156/cti (opens in a new tab)
- vuldb.com/submit/780189 (opens in a new tab)
- github.com/osrg/gobgp/pull/3340 (opens in a new tab)
- github.com/osrg/gobgp/commit/f0f24a2a901cbf159260698211ab15c583ced131 (opens in a new tab)
- github.com/osrg/gobgp/ (opens in a new tab)