Read the docs
TI-2020-09815 Aliases CVE-2020-12283GHSA-mx43-r985-5h4m

Sourcegraph before 3.15.1 has a vulnerable authentication workflow because of improper…

Priority LOW 30CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

Sourcegraph before 3.15.1 has a vulnerable authentication workflow because of improper validation in the SafeRedirectURL method in cmd/frontend/auth/redirect.go, such as for the //foo//example.com substring.

Why it matters now

EPSS 0.01333 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/sourcegraph/sourcegraph (Go): 3.14.4, 3.15.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/sourcegraph/sourcegraph (Go)before 3.14.43.14.4Patch availableGHSA-mx43-r985-5h4m
—github.com/sourcegraph/sourcegraph (Go)3.15.0 to before 3.15.13.15.1Patch availableGHSA-mx43-r985-5h4m
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/sourcegraph/sourcegraph (Go) Vendor— Affected before 3.14.4 Fixed in 3.14.4 Patch available GHSA-mx43-r985-5h4m
  • github.com/sourcegraph/sourcegraph (Go) Vendor— Affected 3.15.0 to before 3.15.1 Fixed in 3.15.1 Patch available GHSA-mx43-r985-5h4m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*before 3.15.1Vulnerablesourcegraph
  • cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:* Versions before 3.15.1 Vulnerable ·sourcegraph

Remediation

  • Fix · GHSA-mx43-r985-5h4m github.com/sourcegraph/sourcegraph (Go) Fixed in 3.14.4 Advisory →
  • Fix · GHSA-mx43-r985-5h4m github.com/sourcegraph/sourcegraph (Go) Fixed in 3.15.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-12283
  2. 2026-10-03 Alias added: GHSA-mx43-r985-5h4m

References

  • TI-2022-07694 Code Injection in Sourcegraph CVSS 3.1HIGH 8.8
  • TI-2022-20284 Incorrect default permissions found in Sourcegraph CVSS 3.1CRITICAL 9.0
  • TI-2022-20283 Sourcegraph vulnerable to Comand Injection via gitserver CVSS 3.1HIGH 7.9
  • TI-2022-11715 Remote Code Execution in sourcegraph CVSS 3.1HIGH 7.2
  • TI-2022-07695 Side-channel attack in Sourcegraph Code Monitors CVSS 3.1MEDIUM 6.5
  • TI-2021-19629 Side-channel attack in Sourcegraph CVSS 3.1MEDIUM 6.5
See all 9 →

Sources