Apache Airflow: Connection sensitive details exposed to users with READ permissions
Apache Airflow 3 introduced a change to the handling of sensitive information in Connections. The intent was to restrict access to sensitive connection fields to Connection Editing Users, effectively applying a "write-only" model for sensitive values. In Airflow 3.0.3, this model was unintentionally violated: sensitive connection information could be viewed by users with READ permissions through both the API and the UI. This behavior also bypassed the `AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS` configuration option. This issue does not affect Airflow 2.x, where exposing sensitive information to connection editors was the intended and documented behavior. Users of Airflow 3.0.3 are advised to upgrade Airflow to >=3.0.4.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-54831
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:39 UTC · Revision 1
Source evidence
Apache Airflow: Connection sensitive details exposed to users with READ permissions
core-osv · Original sourcePublished 26 Sept 2025, 07:28 UTC
Apache Airflow 3 introduced a change to the handling of sensitive information in Connections. The intent was to restrict access to sensitive connection fields to Connection Editing Users, effectively applying a "write-only" model for sensitive values. In Airflow 3.0.3, this model was unintentionally violated: sensitive connection information could be viewed by users with READ permissions through both the API and the UI. This behavior also bypassed the `AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS` configuration option. This issue does not affect Airflow 2.x, where exposing sensitive information to connection editors was the intended and documented behavior. Users of Airflow 3.0.3 are advised to upgrade Airflow to >=3.0.4.
osv:CVE-2025-54831
Complete source record
{
"id": "b33fe8d16db733af4ea18a8b726e9cfee31c02e53aee389d5c8b2b18429f1ce4",
"url": "https://osv.dev/vulnerability/CVE-2025-54831",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Airflow: Connection sensitive details exposed to users with READ permissions",
"summary": "Apache Airflow 3 introduced a change to the handling of sensitive information in Connections. The intent was to restrict access to sensitive connection fields to Connection Editing Users, effectively applying a \"write-only\" model for sensitive values. In Airflow 3.0.3, this model was unintentionally violated: sensitive connection information could be viewed by users with READ permissions through both the API and the UI. This behavior also bypassed the `AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS` configuration option. This issue does not affect Airflow 2.x, where exposing sensitive information to connection editors was the intended and documented behavior. Users of Airflow 3.0.3 are advised to upgrade Airflow to >=3.0.4.",
"evidence": "osv:CVE-2025-54831",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-54831",
"aliases": [
"BIT-airflow-2025-54831",
"CVE-2025-54831",
"GHSA-q475-2pgm-7hvp",
"PYSEC-2025-85"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/airflow",
"type": "GIT",
"events": [
{
"introduced": "d7dbfb7e26a50130d3550e781dc71a5fbcaeb3d2"
},
{
"last_affected": "d7dbfb7e26a50130d3550e781dc71a5fbcaeb3d2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:airflow:3.0.3:-:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.3-NA"
},
{
"last_affected": "3.0.3-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.0.3-NA",
"providers-zendesk/3.0.3rc1",
"providers-zendesk/3.0.3",
"providers-yandex/2.2.3rc1",
"providers-yandex/2.2.3",
"providers-vertica/2.1.3rc1",
"providers-vertica/2.1.3",
"providers-trino/2.1.2rc1",
"providers-trino/2.1.2",
"providers-telegram/2.0.4rc1",
"providers-telegram/2.0.4",
"providers-tableau/2.1.7rc1",
"providers-tableau/2.1.7",
"providers-ssh/2.4.3rc1",
"providers-ssh/2.4.3",
"providers-sqlite/2.1.3rc1",
"providers-sqlite/2.1.3",
"providers-snowflake/2.6.0rc1",
"providers-snowflake/2.6.0",
"providers-slack/4.2.3rc1",
"providers-slack/4.2.3",
"providers-singularity/2.0.4rc1",
"providers-singularity/2.0.4",
"providers-sftp/2.5.2rc1",
"providers-sftp/2.5.2",
"providers-sendgrid/2.0.4rc1",
"providers-sendgrid/2.0.4",
"providers-segment/2.0.4rc1",
"providers-segment/2.0.4",
"providers-samba/3.0.4rc1",
"providers-samba/3.0.4",
"providers-salesforce/3.4.3rc1",
"providers-salesforce/3.4.3",
"providers-redis/2.0.4rc1",
"providers-redis/2.0.4",
"providers-qubole/2.1.3rc1",
"providers-qubole/2.1.3",
"providers-presto/2.1.2rc1",
"providers-presto/2.1.2",
"providers-postgres/4.1.0rc1",
"providers-postgres/4.1.0",
"providers-plexus/2.0.4rc1",
"providers-plexus/2.0.4",
"providers-papermill/2.2.3rc1",
"providers-papermill/2.2.3",
"providers-pagerduty/2.1.3rc1",
"providers-pagerduty/2.1.3",
"providers-oracle/2.2.3rc1",
"providers-oracle/2.2.3",
"providers-opsgenie/3.0.3rc1",
"providers-opsgenie/3.0.3",
"providers-openfaas/2.0.3rc1",
"providers-openfaas/2.0.3",
"providers-odbc/2.0.4rc1",
"providers-odbc/2.0.4",
"providers-neo4j/2.1.3rc1",
"providers-neo4j/2.1.3",
"providers-mysql/2.2.3rc1",
"providers-mysql/2.2.3",
"providers-mongo/2.3.3rc1",
"providers-mongo/2.3.3",
"providers-microsoft-winrm/2.0.5rc1",
"providers-microsoft-winrm/2.0.5",
"providers-microsoft-psrp/1.1.3rc1",
"providers-microsoft-psrp/1.1.3",
"providers-microsoft-mssql/2.1.3rc1",
"providers-microsoft-mssql/2.1.3",
"providers-microsoft-azure/3.7.2rc1",
"providers-microsoft-azure/3.7.2",
"providers-jira/2.0.4rc1",
"providers-jira/2.0.4",
"providers-jenkins/2.0.7rc1",
"providers-jenkins/2.0.7",
"providers-jdbc/2.1.3rc1",
"providers-jdbc/2.1.3",
"providers-influxdb/1.1.3rc1",
"providers-influxdb/1.1.3",
"providers-imap/2.2.3rc1",
"providers-imap/2.2.3",
"providers-http/2.1.2rc1",
"providers-http/2.1.2",
"providers-hashicorp/2.1.4rc1",
"providers-hashicorp/2.1.4",
"providers-grpc/2.0.4rc1",
"providers-grpc/2.0.4",
"providers-google/6.7.0rc1",
"providers-google/6.7.0",
"providers-github/1.0.3rc1",
"providers-github/1.0.3",
"providers-ftp/2.1.2rc1",
"providers-ftp/2.1.2",
"providers-facebook/2.2.3rc1",
"providers-facebook/2.2.3",
"providers-exasol/2.1.3rc1",
"providers-exasol/2.1.3",
"providers-elasticsearch/3.0.2rc1",
"providers-elasticsearch/3.0.2",
"providers-docker/2.5.2rc1",
"providers-docker/2.5.2",
"providers-discord/2.0.4rc1",
"providers-discord/2.0.4",
"providers-dingding/2.0.4rc1",
"providers-dingding/2.0.4",
"providers-dbt-cloud/1.0.2rc1",
"providers-dbt-cloud/1.0.2",
"providers-datadog/2.0.4rc1",
"providers-datadog/2.0.4",
"providers-databricks/2.5.0rc1",
"providers-databricks/2.5.0",
"providers-cncf-kubernetes/3.1.2rc1",
"providers-cncf-kubernetes/3.1.2",
"providers-cloudant/2.0.4rc1",
"providers-cloudant/2.0.4",
"providers-celery/2.1.3rc1",
"providers-celery/2.1.3",
"providers-asana/1.1.3rc1",
"providers-asana/1.1.3",
"providers-apache-sqoop/2.1.3rc1",
"providers-apache-sqoop/2.1.3",
"providers-apache-spark/2.1.3rc1",
"providers-apache-spark/2.1.3",
"providers-apache-pinot/2.0.4rc1",
"providers-apache-pinot/2.0.4",
"providers-apache-pig/2.0.4rc1",
"providers-apache-pig/2.0.4",
"providers-apache-livy/2.2.2rc1",
"providers-apache-livy/2.2.2",
"providers-apache-kylin/2.0.4rc1",
"providers-apache-kylin/2.0.4",
"providers-apache-hive/2.3.2rc1",
"providers-apache-hive/2.3.2",
"providers-apache-hdfs/2.2.3rc1",
"providers-apache-hdfs/2.2.3",
"providers-apache-druid/2.3.3rc1",
"providers-apache-druid/2.3.3",
"providers-apache-drill/1.0.4rc1",
"providers-apache-drill/1.0.4",
"providers-apache-cassandra/2.1.3rc1",
"providers-apache-cassandra/2.1.3",
"providers-apache-beam/3.3.0rc1",
"providers-apache-beam/3.3.0",
"providers-amazon/3.2.0rc1",
"providers-amazon/3.2.0",
"providers-alibaba/1.1.1rc1",
"providers-alibaba/1.1.1",
"providers-airbyte/2.1.4rc1",
"providers-airbyte/2.1.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54831.json"
}
}
],
"modified": "2026-10-28T02:30:23.943960408Z",
"provider": "osv",
"references": [
"https://pypi.python.org",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54831.json",
"https://lists.apache.org/thread/vblmfqtydrp5zgn2q8tj3slk5podxspf",
"https://nvd.nist.gov/vuln/detail/CVE-2025-54831"
],
"provider_metadata": {
"cwe_ids": [
"CWE-213"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "3.0.3"
},
{
"last_affected": "3.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54831.json"
}
},
"related_cves": [
{
"value": "CVE-2025-54831",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490620,
"published_at": "2025-09-26T07:28:59.066+00:00"
}