Nextcloud server is an open source personal cloud server. Affected versions were found to be vulnerable to SMTP command injection. The impact varies based on which commands are supported by the backend SMTP server. However, the main risk here is that…
Overview
Nextcloud server is an open source personal cloud server. Affected versions were found to be vulnerable to SMTP command injection. The impact varies based on which commands are supported by the backend SMTP server. However, the main risk here is that the attacker can then hijack an already-authenticated SMTP session and run arbitrary SMTP commands as the email user, such as sending emails to other users, changing the FROM user, and so on. As before, this depends on the configuration of the server itself, but newlines should be sanitized to mitigate such arbitrary SMTP command injection. It is recommended that the Nextcloud Server is upgraded to 22.2.8 , 23.0.5 or 24.0.1. There are no known workarounds for this issue.
- Published
- 7/5/2022
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
nextcloud server nextcloud | < 19.0.13.7 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
nextcloud server nextcloud | < 22.2.8 | Verify advisory | Source |
nextcloud server nextcloud | ≥ 20.0.0, < 20.0.14.6 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
nextcloud server nextcloud | ≥ 21.0.0, < 21.0.9.5 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
nextcloud server nextcloud | ≥ 23.0.0, < 23.0.5 | Verify advisory | Source |
nextcloud server nextcloud | 24.0.0 | Verify advisory | Source |
nextcloud server nextcloud | 24.0.0 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
security-advisories nextcloud | < 22.2.8 | Verify advisory | Source |
security-advisories nextcloud | >= 23.0.0, < 23.0.5 | Verify advisory | Source |
security-advisories nextcloud | >= 24.0.0, < 24.0.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.4. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.