Skip to content

fix(security): bump postcss and brace-expansion resolutions in ui-core-components - #30613

Merged
siddhant1 merged 2 commits into
mainfrom
frontend-dependabot-audit
Jul 31, 2026
Merged

siddhant1 merged 2 commits into
mainfrom
frontend-dependabot-audit

Conversation

@siddhant1

@siddhant1 siddhant1 commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

What

Bumps two pinned resolutions in openmetadata-ui-core-components/src/main/resources/ui/package.json, clearing the three open Dependabot advisories in that workspace that are fixable by a resolution bump alone.

Package Before After Advisory Severity
postcss 8.5.10 8.5.18 GHSA-r28c-9q8g-f849 — path traversal via sourceMappingURL auto-loading → arbitrary .map file disclosure (patched 8.5.18) high
postcss 8.5.10 8.5.18 GHSA-6g55-p6wh-862q / CVE-2026-45623 — arbitrary file read via attacker-controlled sourceMappingURL in CSS comments (patched 8.5.12) high
brace-expansion 5.0.7 5.0.8 GHSA-mh99-v99m-4gvg / CVE-2026-14257 — DoS via unbounded expansion length causing an OOM crash (patched 5.0.8) high

openmetadata-ui was already moved to postcss 8.5.18 in #30482 (alerts #673/#678 closed). This brings ui-core-components in line — it was missed in that sweep and is still on the pin introduced by #30318.

Both are build-time/dev-scope dependencies (Tailwind v4 → Vite CSS pipeline, and [email protected]'s expansion engine respectively), so there is no runtime surface change.

Diff

package.json:

   "resolutions": {
-    "brace-expansion": "5.0.7",
+    "brace-expansion": "5.0.8",
     "fast-uri": "3.1.4",
     "lodash": "4.18.1",
     "minimatch": "10.2.3",
-    "postcss": "8.5.10",
+    "postcss": "8.5.18",

yarn.lock was regenerated with yarn install; the diff is limited to the two entries above plus postcss's transitive nanoid ^3.3.11 → ^3.3.12. No other package moved.

Verification

Installed versions resolve as intended and the library builds cleanly:

postcss 8.5.18 | brace-expansion 5.0.8

$ yarn build
vite v7.3.5 building client environment for production...
✓ 285 modules transformed.
[vite:dts] Declaration files built in 1751ms.
✓ built in 2.05s

Collate build impact — verified unchanged

ui-core-components sits directly in the Collate build path, so this was checked end to end:

  • collate-ui/pom.xml (initialize phase) → make prepare_collate-ui → cd OpenMetadata/openmetadata-ui/src/main/resources/ui && yarn install
  • that fires openmetadata-ui's preinstall: cd ../../../../.. && yarn install --frozen-lockfile && cd openmetadata-ui-core-components/src/main/resources/ui && yarn install && yarn build
  • collate-ui's vite config aliases @openmetadata/ui-core-components → OpenMetadata/openmetadata-ui-core-components/src/main/resources/ui/dist/index.es

The built artifacts are byte-for-byte identical before and after the bump. dist/ was built from the origin/main pins (postcss 8.5.10 / brace-expansion 5.0.7), then rebuilt from this PR's pins (8.5.18 / 5.0.8):

artifact sha256 (identical in both builds)
dist/ui-core-components.css 9bad0dd30e04b74145bc0de37796b76d4840f16e5b255dbdce59a57048d9908a
dist/index.es.js a560e4c1d2225f0e767acc71ddb8fc761af036829729a00e75a6650fd5520ba6
dist/checkbox-icons.es.js cab2532724d5d5be7cb8c34fd8de75e0c5e68b183c78652ad47f3b71d9e3a40c
dist/components/index.es.js 740d7c6635a7562a37715bc411a62d2c8e5afffd6424e1c33f549ef9182781cc

There is also no dependency-graph bleed into Collate. collate-ui's yarn.lock records the library as:

"@openmetadata/ui-core-components@link:../../../../../OpenMetadata/...":
  version "0.0.0"
  uid ""

The link: protocol pulls in zero transitive dependencies, so these resolutions stay inside ui-core-components' own node_modules and cannot collide with collate-ui's own postcss / brace-expansion pins. Collate's default branch is already on postcss 8.5.23 — ahead of where this PR puts ui-core-components.

The root yarn install --frozen-lockfile step also passes unchanged, as this PR touches neither the root package.json nor the root yarn.lock.

Not included (deliberately)

These remaining open front-end alerts are not fixable by a resolution bump and are out of scope here:

All of the above are present identically on main and 2.0.

🤖 Generated with Claude Code

Greptile Summary

Updates security-related dependency resolutions in the UI core-components workspace.

  • Bumps postcss from 8.5.10 to 8.5.18.
  • Bumps brace-expansion from 5.0.7 to 5.0.8.
  • Regenerates the lockfile, including the expected transitive nanoid update.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
openmetadata-ui-core-components/src/main/resources/ui/package.json Updates the two dependency resolutions to patched, semver-compatible versions.
openmetadata-ui-core-components/src/main/resources/ui/yarn.lock Consistently records the resolved package versions, integrity metadata, and expected transitive nanoid update.

Reviews (2): Last reviewed commit: "Merge branch 'main' into frontend-depend..." | Re-trigger Greptile

…e-components

Clears three open Dependabot advisories in the ui-core-components workspace
that are resolvable by a resolution bump alone:

- postcss 8.5.10 -> 8.5.18
  - GHSA-r28c-9q8g-f849 (high): path traversal via sourceMappingURL
    auto-loading, arbitrary .map file disclosure. Patched in 8.5.18.
  - GHSA-6g55-p6wh-862q / CVE-2026-45623 (high): arbitrary file read via
    attacker-controlled sourceMappingURL in CSS comments. Patched in 8.5.12.
- brace-expansion 5.0.7 -> 5.0.8
  - GHSA-mh99-v99m-4gvg / CVE-2026-14257 (high): DoS via unbounded expansion
    length causing an out-of-memory crash. Patched in 5.0.8.

openmetadata-ui was already moved to postcss 8.5.18 in #30482; this brings
ui-core-components in line.

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings July 29, 2026 04:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions github-actions Bot added the UI UI specific issues label Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 88089bdef64d24a0408cb2e5faed6e5b87a3bd19 in Playwright run 30538564631, attempt 1.

✅ 65 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 3 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 38m 37s

⏱️ Max setup 1m 33s · max shard execution 7m 18s · max shard-job elapsed before upload 10m 22s · reporting 2s

🌐 148.18 requests/attempt · 1.73 app boots/UI scenario · 0.00% common-shard skew

Optimization targets still in progress:

  • Application boot ratio was 1.73 per UI scenario (116 boots / 67 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 65 0 0 3 0 0

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@siddhant1 siddhant1 added the safe to test Add this label to run secure Github workflows on PRs label Jul 29, 2026
@siddhant1 siddhant1 added the skip-pr-checks Bypass PR metadata validation check label Jul 30, 2026
@siddhant1
siddhant1 enabled auto-merge July 30, 2026 11:21
Copilot AI review requested due to automatic review settings July 30, 2026 11:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@siddhant1
siddhant1 added this pull request to the merge queue Jul 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 30, 2026
@siddhant1
siddhant1 added this pull request to the merge queue Jul 31, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 31, 2026
@siddhant1
siddhant1 added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 005b760 Jul 31, 2026
69 checks passed
@siddhant1
siddhant1 deleted the frontend-dependabot-audit branch July 31, 2026 14:02
@gitar-bot

gitar-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Bumps postcss and brace-expansion resolutions in ui-core-components to patch three high-severity security advisories. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source

k-anshul pushed a commit to k-anshul/OpenMetadata that referenced this pull request Aug 12, 2026
…e-components (open-metadata#30613)

Clears three open Dependabot advisories in the ui-core-components workspace
that are resolvable by a resolution bump alone:

- postcss 8.5.10 -> 8.5.18
  - GHSA-r28c-9q8g-f849 (high): path traversal via sourceMappingURL
    auto-loading, arbitrary .map file disclosure. Patched in 8.5.18.
  - GHSA-6g55-p6wh-862q / CVE-2026-45623 (high): arbitrary file read via
    attacker-controlled sourceMappingURL in CSS comments. Patched in 8.5.12.
- brace-expansion 5.0.7 -> 5.0.8
  - GHSA-mh99-v99m-4gvg / CVE-2026-14257 (high): DoS via unbounded expansion
    length causing an out-of-memory crash. Patched in 5.0.8.

openmetadata-ui was already moved to postcss 8.5.18 in open-metadata#30482; this brings
ui-core-components in line.

Co-authored-by: Claude <[email protected]>

This branch was previously deployed

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

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants