# CVE-2022-39265: Mail settings' command parameter injection in mybb

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.15%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-06T00:00:00.000Z
- Modified: 2026-06-17T04:58:01.930Z
- Also known as: BIT-MYBB-2022-39265, GHSA-hxhm-rq9f-7xj7
- Weaknesses: CWE-74, CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

MyBB is a free and open source forum software. The _Mail Settings_ → Additional Parameters for PHP's mail() function mail_parameters setting value, in connection with the configured mail program's options and behavior, may allow access to sensitive information and Remote Code Execution (RCE). The vulnerable module requires Admin CP access with the `_Can manage settings?_` permission and may depend on configured file permissions. MyBB 1.8.31 resolves this issue with the commit `0cd318136a`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- mybb mybb: < 1.8.31; before 1.8.31
- mybb (Bitnami): before 1.8.31

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mybb/mybb/blob/mybb_1830/install/resources/settings.xml#L2331-L2338> (exploit, third-party-advisory, web)
- <https://github.com/mybb/mybb/security/advisories/GHSA-hxhm-rq9f-7xj7> (third-party-advisory, web)
- <https://github.com/mybb/mybb/commit/0cd318136a10b029bb5c8a8f6dddf39d87519797> (patch, third-party-advisory, web)
- <https://mybb.com/versions/1.8.31/> (release-notes, vendor-advisory, web)

## Sources

- CVE List: [CVE-2022-39265](https://www.cve.org/CVERecord?id=CVE-2022-39265), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-39265](https://nvd.nist.gov/vuln/detail/CVE-2022-39265), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MYBB-2022-39265](https://osv.dev/vulnerability/BIT-MYBB-2022-39265), Apache-2.0, modified 2025-10-14

---

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