---
title: "CVE-2024-27302: Authorization Bypass Through User-Controlled Key in go-zero"
url: https://erroneo.us/security/cve/CVE-2024-27302/
description: "CVE-2024-27302 (github.com/zeromicro/go-zero (Go)): go-zero is a web and rpc framework. Go-zero allows user to specify a CORS Filter with a configurable…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-03-06
date_modified: 2026-03-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-27302"
kev: false
cvss: 9.1
epss: 0.00774
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-27302: Authorization Bypass Through User-Controlled Key in go-zero

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 55: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 55% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/zeromicro/go-zero (Go) < 1.4.4, fixed in 1.4.4 . Check your lockfile, including transitive dependencies.

## What it is

go-zero is a web and rpc framework. Go-zero allows user to specify a CORS Filter with a configurable allows param - which is an array of domains allowed in CORS policy. However, the isOriginAllowed uses strings.HasSuffix to check the origin, which leads to bypass via a malicious domain. This vulnerability is capable of breaking CORS policy and thus allowing any page to make requests and/or retrieve data on behalf of other users. Version 1.4.4 fixes this issue.

## Affected packages

- Go `github.com/zeromicro/go-zero` < 1.4.4 → fixed: 1.4.4

## Affected products (CVE record)

- zeromicro go-zero: < 1.4.4

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.77% probability of exploitation activity in the next 30 days; percentile 55.

## Sources

- [GitHub Advisory GHSA-fgxv-gw55-r5fq](https://github.com/advisories/GHSA-fgxv-gw55-r5fq)
- [CVE.org record CVE-2024-27302](https://www.cve.org/CVERecord?id=CVE-2024-27302)
- [NVD entry CVE-2024-27302](https://nvd.nist.gov/vuln/detail/CVE-2024-27302)
- [github.com](https://github.com/zeromicro/go-zero/security/advisories/GHSA-fgxv-gw55-r5fq)
- [github.com](https://github.com/zeromicro/go-zero/commit/d9d79e930dff6218a873f4f02115df61c38b15db)

---
Source page: https://erroneo.us/security/cve/CVE-2024-27302/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
