CVE-2026-126634 is a critical vulnerability (CVSS 4.0: 8.8) in Apache Unomi, affecting versions from 1.5.2 (pre-3.1.0) and 4.0.0-rc1 (pre-4.0.0). It allows manipulation of personalized content due to an incomplete sanitization filter on the public context endpoint. Immediate remediation involves upgrading to versions 3.1.0 or 4.0.0.
Apache Unomi CVE-2026-126634 in 60 seconds
The CVE-2026-126634 vulnerability in Apache Unomi compromises the integrity of personalized content. The sanitizer on the public context endpoint filters inputs but fails to apply the filtered results to the request, allowing values that should be discarded to influence personalization decisions. Here are the essential steps for remediation:
# 1. Identify the running Apache Unomi version
# Check startup logs, the administration page, or installation files.
# Example (may vary depending on installation):
# cat /path/to/unomi/VERSION.txt
# 2. Upgrade to a patched version (3.1.0 or 4.0.0)
# Download the correct version from the official Apache Unomi website.
# Example download and upgrade (procedure to be adapted):
# wget https://dlcdn.apache.org/unomi/
# tar -xvf apache-unomi-3.1.0.tar.gz
# mv apache-unomi-3.1.0 /opt/apache-unomi-new
# systemctl stop unomi
# # Perform data migration if necessary, consult official documentation
# # (e.g., for migration from 3.0 to 4.0)
# rm -rf /opt/apache-unomi-old # Remove old installation
# mv /opt/apache-unomi-new /opt/apache-unomi
# systemctl start unomi
# 3. Verify the version post-upgrade
# Ensure the new version is active.
# Example (check startup logs):
# journalctl -u unomi.service | grep "Apache Unomi version"
# 4. Check personalization configurations
# Review context and personalization rules for consistency.
# Ensure the org.apache.unomi.security.personalization.sanitizeConditions parameter is set to true (default).
The CVE-2026-126634 vulnerability in Apache Unomi was published on November 30, 2026, and concerns a flaw in the sanitization mechanism for personalization requests on the public context endpoint. This issue, classified as an “Incomplete List of Disallowed Inputs,” allows values that should be discarded to remain available for content variant evaluation. With a CVSS 4.0 score of 8.8 (High), the flaw affects Apache Unomi from version 1.5.2 up to releases prior to 3.1.0, and the 4.0.0-rc1 series up to releases prior to 4.0.0. The main impact is on the manipulation of data integrity and personalized content selection by unauthenticated remote attackers. Apache has released versions 3.1.0 and 4.0.0, which correct the defect, recommending an immediate upgrade.
Reference versions: Apache Unomi 3.1.0, 4.0.0 · documentation consulted in November 2026
Prerequisites
To proceed with the assessment and potential remediation of this vulnerability, it is essential to have:
- Administrative access to the servers hosting Apache Unomi instances.
- Knowledge of Apache Unomi configuration, including its integration with other systems (e.g., CMS, portals).
- Familiarity with basic system commands (Linux/Windows) for service management and filesystem navigation.
- Access to official Apache Unomi documentation for the specific version in use, particularly for upgrade and migration procedures.
- A backup and rollback plan for the Unomi installation before any upgrade intervention.
1. What’s Happening: Analysis of CVE-2026-126634
CVE-2026-126634 is an “Incomplete List of Disallowed Inputs” vulnerability affecting the personalization sanitization component on Apache Unomi’s public context endpoint. In practice, the system correctly filters personalization content before processing but fails to apply the filtered list to the actual request. This means that values that should be rejected continue to be available to the personalization engine when at least one variant passes the filter. The CVSS 4.0 score is 8.8 (High), with the vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N, indicating that the vulnerability is exploitable via the network, with low complexity, without privileges or user interaction, and with an impact on integrity (high) and confidentiality (limited), but null on availability [4].
Although the default allow-list expression remains active in standard deployments, preventing unlimited remote code execution, the flaw allows manipulation of data integrity and personalized content selection by unauthenticated remote attackers. At the time of the advisory’s publication, no evidence of active exploitation of the vulnerability in real-world environments has been reported [9].
2. Are You Exposed? Conditions and Commands for Verification
The CVE-2026-126634 vulnerability affects the following Apache Unomi versions:
- From version 1.5.2 up to releases prior to 3.1.0.
- Apache Unomi 4.0.0-rc1 up to releases prior to 4.0.0 [4][9].
To determine if your installation is vulnerable, you must identify the Apache Unomi version in use. There is no universal command for all installations, but you can check in several ways:
a. Check the VERSION.txt file (if present):
In many installations, the version can be found in a VERSION.txt file in the Unomi installation directory.
# Example of a common path (adapt to your environment)
cat /opt/apache-unomi/VERSION.txt
b. Examine service startup logs:
Apache Unomi, being a Java application based on Karaf, often prints its version in the logs when the service starts.
# For systemd systems (Ubuntu, CentOS 7+, RHEL 7+)
journalctl -u unomi.service | grep "Apache Unomi version"
# For systems with dedicated log files (e.g., in /opt/apache-unomi/data/log/)
grep "Apache Unomi version" /opt/apache-unomi/data/log/karaf.log
c. Check the administration page or APIs (if exposed and protected):
In some cases, the version might be exposed via an administration page or an API endpoint. However, relying on public endpoints for security information is not recommended.
d. Consult installation documentation:
Review the installation notes or configuration files you used to deploy Apache Unomi. The version is often clearly indicated.
Example of expected output from journalctl:
A typical output:
INFO | Apache Unomi version 3.0.1 started.
If the identified version falls within the vulnerable ranges, you must proceed with the upgrade.
3. Correct Versions and Status as of November 30, 2026
Apache has released versions that correct CVE-2026-126634. Upgrading to one of these releases is the recommended measure to mitigate the vulnerability [4][9].
| Unomi Version Range | Status regarding CVE-2026-126634 | Recommended Corrective Release | Primary Source | Status as of 11/30/2026 |
|---|---|---|---|---|
| 1.5.2 – up to prior to 3.1.0 | Vulnerable | 3.1.0 | Apache oss-sec, Download[4][10] | Upgrade immediately |
| 2.x and 3.0.x (included in 1.5.2–<3.1.0) | Vulnerable | 3.1.0 | Download[10] | Upgrade immediately |
| 4.0.0-rc1 – up to prior to 4.0.0 | Vulnerable | 4.0.0 | Apache oss-sec[4] | Upgrade immediately |
| 3.1.0 | Not vulnerable (fix included) | n/a | Apache oss-sec, Download[4][10] | Corrected |
| 4.0.0 | Not vulnerable (fix included) | n/a | Apache oss-sec, Announce, Download[4][11][10] | Corrected |
Note: As of November 30, 2026, Ubuntu has not published any advisory for CVE-2026-126634 [8]. Therefore, operators using packages provided by Ubuntu for Apache Unomi must refer to Apache’s upstream recommendations and consider a manual upgrade or compilation from source if an updated package is not available from their distribution.
4. Mitigation if You Cannot Upgrade Immediately
Given the nature of the bug, which resides in the sanitizer code and the filter application logic, there are no effective mitigations or workarounds that can replace a software upgrade. The vulnerability cannot be resolved with simple configuration changes or firewall rules, as the problem manifests at the application level in input handling. Read also: SSH Hardening Linux: Complete Guide 2026 (10 Critical Settings)
If immediate upgrade is not possible, the actions you can take are limited and aim to reduce the attack surface:
- Restrict access to the public context endpoint: If possible, limit access to the
/cxs/context.jsonendpoint only to trusted IP addresses or internal networks via a firewall or Web Application Firewall (WAF). This would reduce the risk of unauthenticated remote attacks [4][9]. - Monitor logs carefully: Implement rigorous monitoring of Apache Unomi logs to detect anomalous activity or attempts to manipulate personalization requests. Look for patterns of unusual requests or errors related to the personalization context.
- Review personalization rules: Critically evaluate active personalization rules to identify any conditions that, if manipulated, could cause significant impacts. Consider temporarily disabling the most complex or sensitive personalizations if not strictly necessary.
- Isolate the Unomi instance: If Apache Unomi is exposed on the internet, consider placing it behind a reverse proxy that can apply additional filters, even if these do not resolve the root cause of the problem.
These measures do not eliminate the vulnerability but can help reduce exposure while awaiting the upgrade.
5. How to Verify the Fix is Active
After upgrading Apache Unomi to version 3.1.0 or 4.0.0, it is essential to verify that the fix is indeed active and that the system’s behavior is as expected. Read also: NIS2 Basic Security Measures: ACN Explained (2026)
a. Verify the installed version:
As described in section 2, confirm that the running Apache Unomi version is indeed one of the patched releases (3.1.0 or 4.0.0).
b. Check the sanitization parameter:
Ensure that the configuration parameter org.apache.unomi.security.personalization.sanitizeConditions is set to true (the default value). This parameter, usually configured via environment variables such as ${env:UNOMI_SECURITY_SANITIZEPERSONALIZATIONCONDITIONS:-true}, ensures that Unomi attempts to remove dangerous expressions.
c. Perform regression tests on personalizations:
- Prepare
curlrequests (or similar tools) that include personalization conditions that previously should have been filtered but, due to the bug, could still influence the output. Read also: mysqldump Backup: Consistency & MySQL/MariaDB Restore - Verify that these conditions are no longer considered by the personalization engine. You can monitor the response of the
/cxs/context.jsonendpoint and Unomi logs to ensure that filtered content does not affectpersonalizationResults. - Compare pre- and post-upgrade behavior with a set of known personalization requests to ensure the system functions as expected and that unwanted content is no longer delivered.
d. Monitor Unomi logs for errors or warnings:
Review Unomi logs after the upgrade to identify any errors or warnings that might indicate problems with the new version or the application of security filters. Read also: Linux: Free Up Disk Space with 12 Commands (SysAdmin Guide 2026)
e. Review context and personalization rules:
It is recommended to check context rules and personalization configurations after patching. This step is crucial to ensure there are no unexpected interactions between the fix and existing business logic. Read also: Proxmox VE 9 Sizing: Hardware Requirements for Nodes
Common Errors and Troubleshooting
| Error or exact message | Cause | Solution # Ensure the Unomi configuration parameter org.apache.unomi.security.personalization.sanitizeConditions is set to true (default). |
|---|