Medium

Neos Flow Information disclosure in entity security

  • Disclosed: 17.05.2024
  • Updated: 11.10.2026 10:22

If you had used entity security and wanted to secure entities not just based on the user's role, but on some property of the user (like the company he belongs to), entity security did not work properly together with the doctrine query cache. This could lead to other users re-using SQL queries from the cache which were built for other users; and thus users could see entities which were not destined for them.

Am I affected?

  • Do you use Entity Security? if no, you are not affected.
  • You disabled the Doctrine Cache (Flow_Persistence_Doctrine)? If this is the case, you are not affected.
  • You use Entity Security in custom Flow or Neos applications. Read on.
    • If you only used Entity Security based on roles (i.e. role A was allowed to see entities, but role B was denied): In this case, you are not affected.
    • If you did more advanced stuff using Entity Security (like checking that a customer only sees his own orders; or a hotel only sees its own bookings), you very likely needed to register a custom global object in Neos.Flow.aop.globalObjects. In this case, you are affected by the issue; and need to implement the CacheAwareInterface in your global object for proper caching.

All Flow versions (starting in version 3.0, where Entity Security was introduced) were affected.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package neos/flow >= 3.0.0, < 3.0.12, >= 3.1.0, < 3.1.10, >= 3.2.0, < 3.2.13, >= 3.3.0, < 3.3.13, >= 4.0.0, < 4.0.6 3.0.12, 3.1.10, 3.2.13, 3.3.13, 4.0.6

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
-
Platform
Composer
Package
neos/flow
Disclosed
17.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9cw3-j7wg-jwj8 - CC BY 4.0

Vulnerability history: neos/flow

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
05.2022 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 4
  • Low 1

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 4
  4. 2025: 0
  5. 2026: 0
  1. Medium · 5.3 ghsa-6pq8-67pw-j6hw >= 2.3.0, < 2.3.16, >= 3.0.0, < 3.0.10, >= 3.1.0, < 3.1.7, >= 3.2.0, < 3.2.7, >= 3.3.0, < 3.3.5 2.3.16, 3.0.10, 3.1.7, 3.2.7, 3.3.5
  2. Neos Flow Information disclosure in entity security this entry
    Medium · 4.3 ghsa-9cw3-j7wg-jwj8 >= 3.0.0, < 3.0.12, >= 3.1.0, < 3.1.10, >= 3.2.0, < 3.2.13, >= 3.3.0, < 3.3.13, >= 4.0.0, < 4.0.6 3.0.12, 3.1.10, 3.2.13, 3.3.13, 4.0.6
  3. Medium ghsa-5vv7-j593-mgjc >= 2.3.0, < 2.3.7, >= 3.0.0, < 3.0.1 2.3.7, 3.0.1
  4. Low · 3.7 ghsa-7h74-7vcw-4mwp >= 1.0.0, < 1.0.4 1.0.4
  5. Medium CVE-2013-7082 >= 1.1.0, < 1.1.1, >= 2.0.0, < 2.0.1 1.1.1, 2.0.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.