GHSA-7x23-j8gv-v54x

Suggest an improvement
Source
https://github.com/advisories/GHSA-7x23-j8gv-v54x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7x23-j8gv-v54x/GHSA-7x23-j8gv-v54x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7x23-j8gv-v54x
Aliases
Published
2026-03-13T20:58:28Z
Modified
2026-03-26T21:11:11Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H CVSS Calculator
Summary
github.com/ctfer-io/monitoring Vulnerable to Improper Access Control
Details

Impact

Due to a mis-written NetworkPolicy, a malicious actor can pivot from a component to any other namespace. This breaks the security-by-default property expected as part of the deployment program, leading to a potential lateral movement.

Patch

Removing the inter-ns NetworkPolicy patches the vulnerability. If updates are not possible in production environments, we recommend to manually delete it and update as soon as possible.

Workaround

Given your context, delete the failing network policy that should be prefixed by inter-ns- in the monitoring namespace. You can use the following to delete all matching network policy. If unsure of the outcome, please do it manually.

for ns in $(kubectl get ns -o jsonpath='{.items[*].metadata.name}' | tr ' ' '\n' | grep '^monitoring-'); do
  kubectl -n "$ns" get networkpolicy -o name \
  | grep '^networkpolicy.networking.k8s.io/inter-ns-' \
  | xargs -r kubectl -n "$ns" delete
done
Database specific
{
    "cwe_ids":  [
        "CWE-284"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-13T20:58:28Z",
    "nvd_published_at":  "2026-03-16T14:19:43Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/ctfer-io/monitoring

Package

Name
github.com/ctfer-io/monitoring
View open source insights on deps.dev
Purl
pkg:golang/github.com/ctfer-io/monitoring

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7x23-j8gv-v54x/GHSA-7x23-j8gv-v54x.json"