CRLF Injection Affecting nextcloud-server-33 package, versions <33.0.5-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.62% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-NEXTCLOUDSERVER33-17279213
  • published10 Jun 2026
  • disclosed14 Jul 2026

Introduced: 10 Jun 2026

CVE-2026-45067  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Wolfi nextcloud-server-33 to version 33.0.5-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nextcloud-server-33 package and not the nextcloud-server-33 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Description

Symfony\Component\Mime\Address is the value-object every Symfony Mailer address (to/cc/bcc/from/reply-to) flows through; its constructor is documented as validating the address and throwing on invalid input, so developers treat it as a security boundary.

The constructor accepts email addresses whose local-part (the part before @) is an RFC-5322 quoted string containing raw \r\n bytes — e.g. &#34;x\r\nBcc: attacker@evil&#34;@example.com. The stored address is later emitted verbatim into (1) the rendered message headers and (2) SmtpTransport's MAIL FROM:&lt;...&gt; / RCPT TO:&lt;...&gt; protocol lines, turning the embedded CRLF into a new mail header and/or a new SMTP command.

Resolution

The Address constructor now rejects addresses containing line breaks.

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.