CVE-2025-50340 Missing authorization in n/a

Medium 4.3 Published Updated

Authenticated users can send emails as others by manipulating identifiers, enabling impersonation and phishing due to missing sender authorization checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-50340?

CVE-2025-50340 is a medium-severity missing authorization vulnerability in n/a, published on 4 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An Insecure Direct Object Reference (IDOR) vulnerability was discovered in SOGo Webmail thru 5.6.0, allowing an authenticated user to send emails on behalf of other users by manipulating a user-controlled identifier in the email-sending request. The server fails to verify whether the authenticated user is authorized to use the specified sender identity, resulting in unauthorized message delivery as another user. This can lead to impersonation, phishing, or unauthorized communication within the system. NOTE: this is disputed by the Supplier because the only effective way to prevent this sender spoofing is on the SMTP server, not within a client such as SOGo.

Weakness: CWE-639

Which versions are affected by CVE-2025-50340?

How do I fix CVE-2025-50340?

No fix has been published for CVE-2025-50340 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-50340 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50340 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-2397-fjxq-4xvj, UBUNTU-CVE-2025-50340.

Is CVE-2025-50340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free