CVE-2024-6541

Information Disclosure and Integrity Violation via Improper Message Context Handling in Multiple WSO2 Products

6.8 medium EPSS 0.34%

Published 6 Aug 2026 Updated 7 Aug 2026 CNA: WSO2

Check your servers for CVE-2024-6541

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-6541 affects wso2-synapse, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

The Class Mediator fails to correctly validate or sanitize `messageContext` properties when they are used to populate dynamic values. This allows authenticated users to potentially access or modify data across different system invocations that should be isolated.

This weakness can lead to the disclosure of sensitive information belonging to other users or the unintended modification of system data by authenticated users. The exact impact depends on how `messageContext` properties are utilized within the affected WSO2 products.

Severity (CVSS)

6.8 medium CVSS 3.1 from WSO2 (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.9% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 7 Aug 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-20 Improper Input Validation

Affected products

As the CNA lists them.

ProductVersions
WSO2 Micro Integrator
unknown before 1.2.0
affected from 1.2.0, before 1.2.0.163
affected from 4.1.0, before 4.1.0.103
affected from 4.3.0, before 4.3.0.7
Other versions: unaffected
WSO2 Enterprise Integrator
unknown before 6.6.0
affected from 6.6.0, before 6.6.0.205
Other versions: unaffected
WSO2 API Manager
unknown before 3.2.0
affected from 3.2.0, before 3.2.0.394
affected from 3.2.1, before 3.2.1.21
affected from 4.0.0, before 4.0.0.311
affected from 4.1.0, before 4.1.0.167
affected from 4.2.0, before 4.2.0.110
affected from 4.3.0, before 4.3.0.24
Other versions: unaffected
WSO2-Synapse
package org.apache.synapse:synapse-core
affected from 2.1.7.wso2v182, before 2.1.7.wso2v182_93
affected from 2.1.7.wso2v143, before 2.1.7.wso2v143_119
affected from 2.1.7.wso2v183, before 2.1.7.wso2v183_62
affected from 2.1.7.wso2v319, before 2.1.7.wso2v319_7
affected from 2.1.7.wso2v227, before 2.1.7.wso2v227_88
affected from 2.1.7.wso2v271, before 2.1.7.wso2v271_60
affected from 4.0.0.wso2v119, before 4.0.0.wso2v119_3
affected from 4.0.0.wso2v105, before 4.0.0.wso2v105_3
affected from 4.0.0.wso2v20, before 4.0.0.wso2v20_63
unaffected from v4.0.0-wso2v121 up to and including v4.0.0-wso2v*
Other versions: unknown

Is my server affected?

Find the installed version of wso2-synapse and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i wso2-synapse
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-6541 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-6541

RHEL, Rocky, Alma, Fedora

rpm -q wso2-synapse
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-6541

Alpine

apk list --installed | grep -i wso2-synapse

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-6541
trivy image --scanners vuln IMAGE | grep CVE-2024-6541

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2024-6541 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.