CVE-2023-28853

Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database

MEDIUM
6.5
CVSS Score
Published: April 4, 2023 at 09:14 PM UTC
Updated: June 17, 2026 at 05:48 AM UTC
2 products affected across 2 vendorsMastodonMastodon

Using mastodon by mastodon?

Get instant alerts when new vulnerabilities affect mastodon - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 1%
SSVC
PoC

Description

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for authentication. Starting in version 2.5.0 and prior to versions 3.5.8, 4.0.4, and 4.1.2, the LDAP query made during login is insecure and the attacker can perform LDAP injection attack to leak arbitrary attributes from LDAP database. This issue is fixed in versions 3.5.8, 4.0.4, and 4.1.2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.5.0 ≤ v < 3.5.84.0.0 ≤ v < 4.0.44.1.0 ≤ v < 4.1.2
Affected range stops below 3.5.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.1.2, so it looks safe — our inference, not a vendor statement
v < 3.5.8v < 4.0.4v < 4.1.2
Affected range stops below 3.5.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.1.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-90CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card