# CVE-2022-31066: Configuration API in EdgeXFoundry exposes message bus credentials to local unauthenticated users

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2022-06-14T21:55:11.000Z
- Modified: 2026-06-17T04:44:43.480Z
- Also known as: GHSA-g63h-q855-vp3q, GO-2022-0491
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

EdgeX Foundry is an open source project for building a common open framework for Internet of Things edge computing. Prior to version 2.1.1, the /api/v2/config endpoint exposes message bus credentials to local unauthenticated users. In security-enabled mode, message bus credentials are supposed to be kept in the EdgeX secret store and require authentication to access. This vulnerability bypasses the access controls on message bus credentials when running in security-enabled mode. (No credentials are required when running in security-disabled mode.) As a result, attackers could intercept data or inject fake data into the EdgeX message bus. Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1) to receive a patch. More information about which go modules, docker containers, and snaps contain patches is available in the GitHub Security Advisory. There are currently no known workarounds for this issue.

(As written by CVE List.)

## Affected

- edgexfoundry edgex-go: < 2.1.1
- github.com/edgexfoundry/device-sdk-go/v2 (Go): before 2.1.1
- github.com/edgexfoundry/app-functions-sdk-go/v2 (Go): before 2.1.1
- github.com/edgexfoundry/app-functions-sdk-go (Go): all versions
- github.com/edgexfoundry/device-sdk-go (Go): all versions
- edgexfoundry edgex_foundry: before 2.1.1

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q> (advisory, third-party-advisory, web)
- <https://github.com/edgexfoundry/device-sdk-go/pull/1161> (fix, patch, third-party-advisory, web)
- <https://github.com/edgexfoundry/edgex-go/pull/4016> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31066> (advisory)
- <https://github.com/edgexfoundry/edgex-go> (package)

## Sources

- CVE List: [CVE-2022-31066](https://www.cve.org/CVERecord?id=CVE-2022-31066), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-g63h-q855-vp3q](https://github.com/advisories/GHSA-g63h-q855-vp3q), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0491](https://pkg.go.dev/vuln/GO-2022-0491), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-31066](https://nvd.nist.gov/vuln/detail/CVE-2022-31066), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31066 · Whole record: https://cve.day/CVE-2022-31066.json · Rebuilt by cve.day 2026-11-25T22:58:12.326Z
