Skip to content

Bump axios in UI packages to patched release#66770

Merged
choo121600 merged 1 commit into
apache:mainfrom
arpitjain099:security/bump-axios-ui-packages
May 15, 2026
Merged

Bump axios in UI packages to patched release#66770
choo121600 merged 1 commit into
apache:mainfrom
arpitjain099:security/bump-axios-ui-packages

Conversation

@arpitjain099
Copy link
Copy Markdown
Contributor

Summary

  • Bump axios in both UI packages from ^1.8.4 to ^1.16.0:
    • airflow-core/src/airflow/ui/package.json
    • airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/package.json
  • Refresh lockfiles accordingly:
    • both pnpm-lock.yaml files
    • package-lock.json in simple auth UI

Why

Dependabot reports multiple open advisories on vulnerable axios ranges in these UI dependency manifests. Updating to a patched axios line addresses the shared vulnerability bucket across these locks.

Validation

  • pnpm install --frozen-lockfile --ignore-scripts in airflow-core/src/airflow/ui
  • pnpm install --frozen-lockfile --ignore-scripts in airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui
  • npm ci --ignore-scripts --legacy-peer-deps in airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui

@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels May 12, 2026
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented May 12, 2026

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example Dag that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: dev@airflow.apache.org
    Slack: https://s.apache.org/airflow-slack

@venkatamandavilli-code
Copy link
Copy Markdown

venkatamandavilli-code commented May 12, 2026

Thanks for the update.

Since this change bumps axios to a patched version, have you validated if there are any behavioral changes impacting existing API calls, especially around error handling or interceptors?

It might also be helpful to confirm compatibility across different UI environments.

@bbovenzi
Copy link
Copy Markdown
Contributor

Merge conflicts

Rebases the original PR onto current main (was ~30k commits behind).
On main today, the simple-auth UI already pins axios at ^1.16.0, so the
only remaining change is in airflow-core/src/airflow/ui/ which is still
at ^1.15.2. Bumps that to ^1.16.0 and regenerates pnpm-lock.yaml.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099
Copy link
Copy Markdown
Contributor Author

@bbovenzi rebased onto current main. On main today the simple-auth UI already pins axios@^1.16.0 (looks like that landed via another PR), so the only remaining change here is the bump in airflow-core/src/airflow/ui/package.json from ^1.15.2 to ^1.16.0 plus regenerated pnpm-lock.yaml. Conflicts cleared.

@arpitjain099 arpitjain099 force-pushed the security/bump-axios-ui-packages branch from 3554c6d to b63f388 Compare May 13, 2026 16:27
@choo121600 choo121600 added the ready for maintainer review Set after triaging when all criteria pass. label May 15, 2026
@choo121600 choo121600 merged commit 332fb1e into apache:main May 15, 2026
82 checks passed
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented May 15, 2026

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@choo121600
Copy link
Copy Markdown
Member

Thanks for the contribution :)

@venkatamandavilli-code
Copy link
Copy Markdown

Thank you! I appreciate the review and support. Glad to contribute to the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants