# CVE-2023-45822: Unsafe rego built-in allowed in Artifact Hub

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-02)
- Published: 2023-10-19T17:05:16.000Z
- Modified: 2026-06-17T06:29:35.747Z
- Also known as: GHSA-9pc8-m4vp-ggvf, GO-2023-2134
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Artifact Hub is a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects. During a security audit of Artifact Hub's code base a security researcher identified a bug in which a default unsafe rego built-in was allowed to be used when defining authorization policies. Artifact Hub includes a fine-grained authorization mechanism that allows organizations to define what actions can be performed by their members. It is based on customizable authorization policies that are enforced by the `Open Policy Agent`. Policies are written using `rego` and their data files are expected to be json documents. By default, `rego` allows policies to make HTTP requests, which can be abused to send requests to internal resources and forward the responses to an external entity. In the context of Artifact Hub, this capability should have been disabled. This issue has been resolved in version `1.16.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- artifacthub hub: < 1.16.0; before 1.16.0
- github.com/artifacthub/hub (Go): before 1.16.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/artifacthub/hub/security/advisories/GHSA-9pc8-m4vp-ggvf> (advisory, third-party-advisory, web)
- <https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0> (product, web)
- <https://www.openpolicyagent.org/> (mitigation)
- <https://www.openpolicyagent.org/docs/latest/#rego> (mitigation, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45822> (advisory)
- <https://github.com/artifacthub/hub> (package)
- <https://www.openpolicyagent.org> (web)

## Sources

- CVE List: [CVE-2023-45822](https://www.cve.org/CVERecord?id=CVE-2023-45822), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-9pc8-m4vp-ggvf](https://github.com/advisories/GHSA-9pc8-m4vp-ggvf), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2023-2134](https://pkg.go.dev/vuln/GO-2023-2134), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2023-45822](https://nvd.nist.gov/vuln/detail/CVE-2023-45822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45822 · Whole record: https://cve.day/CVE-2023-45822.json · Rebuilt by cve.day 2026-11-25T22:58:28.947Z
