Skip to main content

MyBB EUVDEUVD-2026-61011

| CVE-2026-45125 MEDIUM
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-08-18 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify MyBB forum with guest email or cansendemail permission enabled
  2. Delivery
    Craft POST to member.php?action=do_emailuser with CRLF payload in fromname
  3. Exploit
    PHP mail() receives unsanitized sender name in header fields
  4. Execution
    CRLF sequences delimit injected Bcc or Reply-To headers
  5. Persist
    Forum MTA sends email with attacker-controlled headers
  6. Impact
    Forum mail server relays phishing or spam to injected recipients

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Two configuration prerequisites must be simultaneously present. First, the MyBB board setting mail_handler must be set to php, which is the installation default; this condition is met in most unmodified MyBB deployments. Second, the cansendemail group permission must be granted to the attacker's user group: for unauthenticated exploitation this means the 'Guests' group must have this permission enabled, which is a non-default administrative choice; for authenticated exploitation, any registered user group with cansendemail enabled is sufficient, making this path available on a broader set of forums. What limits exploitation: guest email is not enabled by default, constraining the unauthenticated PR:N attack path to deliberately configured forums; authenticated exploitation requires a valid forum account; and the SMTP handler path is not affected in the same manner as the PHP handler.

Impact

The NVD CVSS score of 5.3 (Medium, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) reflects a fully remote, unauthenticated, low-complexity attack with limited integrity impact. However, this score assumes both non-default configuration conditions are simultaneously active, which the CNA did not factor into AC. In practice, enabling guest cansendemail is a deliberate administrative decision uncommon in default MyBB installations; AC:L may overstate attacker advantage for the unauthenticated path. No EPSS data was provided in the source intelligence, and the vulnerability is not in CISA KEV, indicating no confirmed active exploitation at time of analysis. The I:L classification understates business impact: injected Bcc or Reply-To headers allow silent mass-BCC spam campaigns using the forum's outbound mail server, potentially resulting in domain blacklisting, deliverability damage, and abuse complaints disproportionate to the raw CVSS score. The authenticated attack path (users with cansendemail using their stored username) is more consistently available in default setups, but requires a valid forum account.

Exploit ScenarioDerived

An unauthenticated attacker targeting a MyBB forum with guest email enabled submits a POST request to member.php?action=do_emailuser with a crafted fromname value such as Attacker Name Bcc: spam-list@attacker.com. Because class_mailhandler.php passes this value unsanitized into the Return-Path and Reply-To header fields before invoking PHP's mail(), the MTA interprets the injected CRLF as a header boundary and adds the attacker-specified Bcc recipient, silently copying every outbound forum email to an external address or distribution list. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Mail header injection in MyBB's Email User feature (prior to 1.8.40) allows CRLF sequences embedded in the unsanitized fromname HTTP parameter to inject arbitrary SMTP headers - including Bcc, Reply-To, and Return-Path - into outgoing forum emails. The attack surface is conditional on two prerequisites: the mail_handler must be set to PHP (the default) and the cansendemail group permission must be enabled for the attacker's user group, including guests for the unauthenticated path. No public exploit code exists and this vulnerability is not listed in CISA KEV, but successful exploitation turns the forum's mail infrastructure into a phishing or spam relay, weaponizing the forum's domain reputation against recipients.

RemediationAI

Upgrade to MyBB 1.8.40, which is the vendor-confirmed patched release available at https://mybb.com/versions/1.8.40 and https://github.com/mybb/mybb/releases/tag/mybb_1840. For sites unable to upgrade immediately, two compensating controls are available with distinct trade-offs: first, revoke the cansendemail permission from the guest user group in the ACP group permissions panel - this eliminates the unauthenticated attack surface but prevents guests from contacting members via the built-in email form; second, change the mail_handler board setting from php to smtp - this alters header construction to a path that handled the fromemail separately, reducing but not eliminating exposure, and requires a configured SMTP server. The upstream fix (commit 5046c56b515d4593297a4f65b0c6ccb0b55baa01) should be treated as the authoritative resolution; workarounds are temporary measures only.

Affected VersionsENISA

MyBB < 1.8.40

Affected Packages

euvd mybb fix: 1.8.40

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MyBB is a PHP-based open-source forum platform; the affected code paths are inc/class_mailhandler.php and member.php. The root cause is CWE-93 (Improper Neutralization of CRLF Sequences): the build_message() method in the mail handler assembled Return-Path and Reply-To headers from user-controlled input - specifically $this->from, $this->from_named, and $this->return_email - without first calling the class's own $this->cleanup() sanitization method. The commit diff (5046c56b515d4593297a4f65b0c6ccb0b55baa01) confirms the fix adds three cleanup() calls on those fields before header construction, plus sanitization of the HTTP Host header used in Message-ID. The flaw is scoped to the PHP mail() handler because PHP passes sender arguments directly to the underlying MTA in ways that do not strip CRLF; the SMTP handler code path had a separate construction flow, though the fix also cleans up shared fields used by both paths. CPE cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:* covers all versions prior to 1.8.40.

Know when Mybb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.7 LOW

AC:H reflects the non-default guest cansendemail prerequisite outside attacker control; PR:N retains the unauthenticated guest path; I:L for header injection with no confidentiality or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 17:17 EUVD

DescriptionCVE.org

MyBB is free and open source forum software. Prior to 1.8.40, the Email User controller does not sanitize sender names correctly, resulting in mail header injection. member.php?action=do_emailuser accepts the fromname HTTP parameter for guests or the stored username for authenticated users when the cansendemail group permission is enabled. When mail_handler is set to the default PHP mail value, the sender name is used without sanitization in Return-Path and Reply-To headers, allowing arbitrary headers to be injected with CRLF sequences. This issue is fixed in version 1.8.40.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source PHP forum software with active global community deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Mybb

View all
CVE-2022-24734 HIGH POC
7.2 Mar 09

MyBB is a free and open source forum software. Rated high severity (CVSS 7.2), this vulnerability is remotely exploitabl

CVE-2017-16780 CRITICAL POC
9.8 Nov 10

The installer in MyBB before 1.8.13 allows remote attackers to execute arbitrary code by writing to the configuration fi

CVE-2021-27946 HIGH POC
8.8 Mar 15

SQL Injection vulnerability in MyBB before 1.8.26 via poll vote count. Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2021-27890 HIGH POC
8.8 Mar 15

SQL Injection vulnerablity in MyBB before 1.8.26 via theme properties included in theme XML files. Rated high severity (

CVE-2019-12830 HIGH POC
8.7 Jun 15

In MyBB before 1.8.21, an attacker can exploit a parsing flaw in the Private Message / Post renderer that leads to [vide

CVE-2026-58054 HIGH POC
8.6 Jun 28

Privilege escalation in MyBB 1.8.40 lets a limited Admin Control Panel (ACP) user who holds only the delegated user-mana

CVE-2017-7566 HIGH POC
7.7 Apr 06

MyBB before 1.8.11 allows remote attackers to bypass an SSRF protection mechanism. Rated high severity (CVSS 7.7), this

CVE-2014-9240 HIGH POC
7.5 Dec 03

SQL injection vulnerability in member.php in MyBB (aka MyBulletinBoard) 1.8.x before 1.8.2 allows remote attackers to ex

CVE-2025-29458 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Change Avatar function. Rated h

CVE-2025-29457 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Import a Theme function. Rated

CVE-2025-29459 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Mail function. Rated high sever

CVE-2013-6936 HIGH POC
7.5 Dec 04

Multiple SQL injection vulnerabilities in ajaxfs.php in the Ajax forum stat (Ajaxfs) Plugin 2.0 for MyBB (aka MyBulletin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy