Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5122: Improper Access Controls in osrg GoBGP

0
Medium
VulnerabilityCVE-2026-5122cvecve-2026-5122
Published: Mon Mar 30 2026 (03/30/2026, 14:15:14 UTC)
Source: CVE Database V5
Vendor/Project: osrg
Product: GoBGP

Description

A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/30/2026, 15:08:26 UTC

Technical Analysis

CVE-2026-5122 affects the osrg GoBGP project, a widely used open-source BGP (Border Gateway Protocol) implementation, up to version 4.3.0. The vulnerability exists in the DecodeFromBytes function within the pkg/packet/bgp/bgp.go file, which handles BGP OPEN messages. The flaw is due to improper access controls triggered by manipulation of the domainNameLen argument, which is used during the decoding process of BGP OPEN messages. This improper validation can lead to unauthorized access or influence over the BGP session establishment process. Since BGP is critical for internet routing, any flaw in its handling can have significant network implications. The vulnerability can be exploited remotely without requiring authentication or user interaction, but the attack complexity is high, making exploitation difficult. The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, high attack complexity, no privileges required, no user interaction, and limited impact on integrity. No known exploits have been reported in the wild, but the availability of a patch (commit 2b09db390a3d455808363c53e409afe6b1b86d2d) indicates the issue has been addressed by the vendor. Organizations running affected GoBGP versions should prioritize patching to prevent potential exploitation.

Potential Impact

The vulnerability impacts the confidentiality and integrity of BGP sessions managed by GoBGP. Successful exploitation could allow attackers to manipulate BGP OPEN message processing, potentially leading to unauthorized access or disruption of BGP session establishment. This could result in routing instability, traffic interception, or denial of service in networks relying on GoBGP for routing. Given BGP's role in internet backbone routing and enterprise networks, exploitation could affect network availability and trustworthiness. However, the high complexity and lack of known exploits reduce immediate risk. Organizations operating critical infrastructure or large-scale networks using GoBGP are at higher risk, as exploitation could impact network routing and connectivity on a broader scale.

Mitigation Recommendations

Apply the official patch identified by commit 2b09db390a3d455808363c53e409afe6b1b86d2d immediately to all affected GoBGP instances (versions 4.0 through 4.3.0). In addition, network administrators should: 1) Restrict BGP session establishment to trusted peers only, using access control lists and firewall rules to limit exposure. 2) Monitor BGP session logs for unusual OPEN message activity or anomalies in domainNameLen values. 3) Employ network segmentation to isolate BGP routers from untrusted networks. 4) Use BGP session authentication mechanisms such as TCP MD5 signatures or TCP-AO to reduce risk of unauthorized session manipulation. 5) Regularly update and audit GoBGP deployments to ensure no outdated versions remain. 6) Implement anomaly detection systems focused on BGP traffic to identify potential exploitation attempts early.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-30T07:46:42.677Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69ca8e5fe6bfc5ba1d3ebe50

Added to database: 3/30/2026, 2:53:19 PM

Last enriched: 3/30/2026, 3:08:26 PM

Last updated: 3/30/2026, 6:38:15 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses