# CVE-2023-48225: Laf env causes sensitive information disclosure

- Severity: High 8.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/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.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-12T20:33:40.959Z
- Modified: 2026-06-17T06:33:46.750Z
- Weaknesses: CWE-200
- Assigned by: GitHub_M

## Description

Laf is a cloud development platform. Prior to version 1.0.0-beta.13, the control of LAF app enV is not strict enough, and in certain scenarios of privatization environment, it may lead to sensitive information leakage in secret and configmap. In ES6 syntax, if an obj directly references another obj, the name of the obj itself will be used as the key, and the entire object structure will be integrated intact. When constructing the deployment instance of the app, env was found from the database and directly inserted into the template, resulting in controllability here. Sensitive information in the secret and configmap can be read through the k8s envFrom field. In a privatization environment, when `namespaceConf. fixed` is marked, it may lead to the leakage of sensitive information in the system. As of time of publication, it is unclear whether any patches or workarounds exist.

(As written by CVE List.)

## Affected

- labring laf: < 1.0.0-beta13
- laf laf: 0.1.5; 0.4.0; 0.4.1; 0.4.2; 0.4.3; 0.4.4; 0.4.5; 0.4.6; 0.4.7; 0.4.8; 0.4.9; 0.4.10; and 21 more

## Every score

- GitHub_M: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/labring/laf/security/advisories/GHSA-hv2g-gxx4-fwxp> (exploit, third-party-advisory)
- <https://github.com/labring/laf/blob/main/server/src/application/environment.controller.ts#L50> (product)
- <https://github.com/labring/laf/blob/main/server/src/instance/instance.service.ts#L306> (product)

## Sources

- CVE List: [CVE-2023-48225](https://www.cve.org/CVERecord?id=CVE-2023-48225), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-48225](https://nvd.nist.gov/vuln/detail/CVE-2023-48225), Public domain, modified 2026-06-17

---

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