LiveActive security incident?Get immediate response
CVE Record

CVE-2020-26226: Secret disclosure in semantic-release

In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `semantic-release` can be accidentally disclosed if they contain characters that become encoded when included in a URL. Secrets that do not contain characters that become encoded when included in a URL are already masked properly. The issue is fixed in version 17.2.3.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

semantic-release could accidentally reveal release secrets in logs when a secret contained characters that change during URL encoding. A leaked token could allow unauthorized publishing or repository actions, depending on that token’s permissions. The issue is reported fixed in semantic-release 17.2.3.

Executive priority

Treat this as high priority for teams that publish packages or automate releases with shared CI logs. The business risk is credential exposure leading to unauthorized code, package, or repository changes.

Technical view

CVE-2020-26226 is a CWE-116 output-encoding flaw in semantic-release. Secret masking handled raw secret values but could miss URL-encoded forms, allowing disclosure during release activity. The supplied data gives CVSS 3.1 score 8.1 with high confidentiality and integrity impact, user interaction required, and no availability impact.

Likely exposure

Exposure is most likely in CI/CD pipelines using semantic-release with publishing, repository, or registry tokens, especially where release logs or artifacts are retained or broadly readable. The source bundle has inconsistent affected-version metadata, so validate installed versions against the GitHub advisory.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. Practical risk depends on whether vulnerable semantic-release output containing URL-encoded secrets was generated and whether attackers can read historical CI logs or artifacts.

Researcher notes

The key condition is secret material transformed by URL encoding before output. Avoid assuming all deployments are exposed; validate semantic-release version, release configuration, token character composition, and CI log accessibility. Source metadata conflicts on affected range, while the description names the fix as 17.2.3.

Mitigation direction

  • Upgrade semantic-release to version 17.2.3 or later.
  • Rotate tokens that may have appeared in release logs.
  • Review CI logs and artifacts for accidental secret exposure.
  • Remove or restrict access to exposed historical logs.
  • Check the GitHub advisory for exact affected-version guidance.

Validation and detection

  • Inventory projects that use semantic-release in release automation.
  • Check package-lock, yarn.lock, or pnpm lockfiles for semantic-release versions.
  • Review CI release logs for encoded secret exposure.
  • Confirm release tokens are scoped to minimum required permissions.
  • Verify secret rotation after any suspected disclosure.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-116: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-26226 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N2.85.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2020-26226Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
semantic-releasesemantic-release< 6.1.5Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-116 · source CWE mapping

Improper Encoding or Escaping of Output

Improper Encoding or Escaping of Output represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.