GHSA-c9v3-4pv7-87pr

Suggest an improvement
Source
https://github.com/advisories/GHSA-c9v3-4pv7-87pr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-c9v3-4pv7-87pr/GHSA-c9v3-4pv7-87pr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c9v3-4pv7-87pr
Aliases
Downstream
Related
Published
2026-03-06T18:04:00Z
Modified
2026-03-07T03:43:54.862477Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
CoreDNS ACL Bypass
Details

A logical vulnerability in CoreDNS allows DNS access controls to be bypassed due to the default execution order of plugins. Security plugins such as acl are evaluated before the rewrite plugin, resulting in a Time-of-Check Time-of-Use (TOCTOU) flaw.

Impact

In multi-tenant Kubernetes clusters, this flaw undermines DNS-based segmentation strategies.

Example scenario: 1. ACL blocks access to *.admin.svc.cluster.local 2. A rewrite rule maps public-name → admin.svc.cluster.local 3. An unprivileged pod queries public-name 4. ACL allows the request 5. Rewrite exposes the internal admin service IP

This allows unauthorized service discovery and reconnaissance of restricted internal infrastructure.

Patches

Has the problem been patched? What versions should users upgrade to?

Workarounds

  • Reorder the default plugin.cfg so that:
    • rewrite and other normalization plugins run before acl, opa, and firewall
  • Ensure all access control checks are applied after name normalization.
Database specific
{
    "nvd_published_at": "2026-03-06T16:16:10Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-367"
    ],
    "github_reviewed_at": "2026-03-06T18:04:00Z",
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/coredns/coredns

Package

Name
github.com/coredns/coredns
View open source insights on deps.dev
Purl
pkg:golang/github.com/coredns/coredns

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-c9v3-4pv7-87pr/GHSA-c9v3-4pv7-87pr.json"