Security mailing lists by PureSourceCode

CVE-2021-22862

MEDIUM 6.5CVSS 3.1

An improper access control vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user with the ability to fork a repository to disclose Actions secrets for the parent repository of the fork. This vulnerability existed due to a flaw that allowed the base reference of a pull request to be updated to point to an arbitrary SHA or another pull request outside of the fork repository. By establishing this incorrect reference in a PR, the restrictions that limit the Actions secrets sent a workflow from forks could be bypassed. This vulnerability affected GitHub Enterprise Server version 3.0.0, 3.0.0.rc2, and 3.0.0.rc1. This vulnerability was reported via the GitHub Bug Bounty program.

Published
3 Mar 2021
Last modified
17 Jun 2026
Assigned by
product-cna@github.com
NVD status
Modified
Weakness
CWE-285
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD github github
cpe:2.3:a:github:github:3.0.0:-:*:*:*:*:*:*
= 3.0.0
NVD github github
cpe:2.3:a:github:github:3.0.0:rc1:*:*:*:*:*:*
= 3.0.0
NVD github github
cpe:2.3:a:github:github:3.0.0:rc2:*:*:*:*:*:*
= 3.0.0

References

History

  • 25 Nov 2026 20:32 UTC ยท NVD: first stored (published 3 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.