SecurityContext

CVE-2023-40273: Apache Airflow - Session Fixation

  • Cve: CVE-2023-40273
  • Name: Apache Airflow - Session Fixation
  • Description: The session fixation vulnerability allowed the authenticated user to continue accessing Airflow webserver even after the password of the user has been reset by the admin - up until the expiry of the session of the user. Other than manually cleaning the session database (for database session backend), or changing the secure_key and restarting the webserver, there were no mechanisms to force-logout the user (and all other users with that). With this fix implemented, when using the database session backend, the existing sessions of the user are invalidated when the password of the user is reset. When using the securecookie session backend, the sessions are NOT invalidated and still require changing the secure key and restarting the webserver (and logging out all other users), but the user resetting the password is informed about it with a flash message warning displayed in the UI. Documentation is also updated explaining this behaviour. Users of Apache Airflow are advised to upgrade to version 2.7.0 or newer to mitigate the risk associated with this vulnerability.
  • Impact: Authenticated users can continue accessing the webserver after password reset until session expiry, risking unauthorized access if sessions are not invalidated.
  • Remediation: Upgrade to version 2.7.0 or newer.
  • Vulnerability type: broken_access_control
  • Requirement type: user_interaction
  • Requirements: User must reset their password.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01845
  • Epss percentile: 0.796
  • Assignee: [email protected]
  • Published at: 2023-08-23T16:15:09Z
  • Age in days: 1189
  • Modified at: 2026-06-17T06:16:58Z
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40273
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
CWE-384Session Fixation

Hackerone

  • Reports: 4
  • Rank: 2839

References

Same in every row:

  • Source: nvd
UrlTags
https://lists.apache.org/thread/9rdmv8ln4y4ncbyrlmjrsj903x4l80njVendor Advisory
https://github.com/apache/airflow/pull/33347Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/08/23/1Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:airflow<= 2.7.0nonvd/v1/products/apache/airflow

Projects

RepositoryLink kindsIndexedUrl
apache/airflowcommit, fix, package, pullyes/v1/repositories/apache/airflow

Index

  • Repositories: 40
  • Repositories high signal: 22
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 4
  • Exposed hosts: 169896
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since