Skip to content

VNX-GH-306: Organisation secret visible to every repository

An organisation secret has visibility all, so any repository, including public ones, can read it.

Updated 02 Nov 2026Checked against cli@24498404a, vdb-sca-match@v0.8.14

A secret shared with all repositories is only as safe as the weakest workflow in the organisation. With visibility all, public repositories’ workflows can read it too.

Severity Medium
Confidence high
CWE CWE-200, CWE-668
Command vulnetix gha org, vulnetix gha audit
Needs org. Without them the rule is reported as not evaluated, never as passed.

Remediation

Set the secret’s visibility to selected repositories, or private repositories at most.

Run only this rule

vulnetix gha org --rule VNX-GH-306

Scoring

CWSS vector at the rule’s default severity: CWSS:1.0/TI:H/AP:A/AL:A/IC:N/FC:LT/RP:N/RL:A/AV:I/AS:N/IN:A/SC:A/BI:H/DI:H/EX:M/EC:N/P:W. A finding whose severity the repository’s settings moved is scored at its adjusted severity.

All rules: GitHub rules.

Edit this pageSources: vdb-sca-match/ghaudit/rules_org.go, cli/internal/ghtasks/docs.go
esc
↑ ↓ move↵ openSearches in your browser. A key like autonomy.max or a code like threshold_required jumps straight to it.