Description
MyBB is free and open source forum software. Prior to 1.8.40, the remote requests feature does not correctly handle IPv6 addresses, resulting in a server-side request forgery vulnerability. The default disallowed remote hosts list does not include IPv6 addresses. Verification in fetch_remote_file() fails open when get_ip_by_hostname() returns no result because that function does not return IPv6 results, allowing a crafted remote target to bypass the host restriction. The uniquely identifying implementation details include fail-open verification, and inc/functions.php. This issue is fixed in version 1.8.40.
Severity (CVSS)
| Base score | 4.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — CWE-918: Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mybb | mybb | < 1.8.40 |
References
- https://github.com/mybb/mybb/security/advisories/GHSA-56wr-64wx-5g7j (x_refsource_CONFIRM)
- https://github.com/mybb/mybb/commit/9cdadbf66f4cef50019f13aaa8e3470ea6535cb7 (x_refsource_MISC)
- https://github.com/mybb/mybb/releases/tag/mybb_1840 (x_refsource_MISC)
- https://mybb.com/versions/1.8.40 (x_refsource_MISC)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.