René's URL Explorer Experiment


Title: Bump next from 13.5.6 to 15.5.28 [SECURITY] by superbot-helper · Pull Request #194 · sqlchat/sqlchat · GitHub

Open Graph Title: Bump next from 13.5.6 to 15.5.28 [SECURITY] by superbot-helper · Pull Request #194 · sqlchat/sqlchat

X Title: Bump next from 13.5.6 to 15.5.28 [SECURITY] by superbot-helper · Pull Request #194 · sqlchat/sqlchat

Description: Updates next from 13.5.6 to 15.5.28. Fixes GHSA-2464-fhr4-w9xw — a critical unauthenticated remote code execution in the Next.js Image Optimization API when SVG files are used on glibc-based Linux (CVSS 4.0 9.5): next 13.5.6 sits inside the advisory's affected range, but the image has no decoder for the flaw: the published tag installs no sharp and no libvips binding at any depth, a Node 18 install of this lock resolves no sharp because 0.35.5 requires Node >= 20.9, and the shipped optimizer throws a 500 before decoding, so no decoder-specific exploit exists in that image to fix; the patched sharp 0.35.5 applies only on Node >= 20.9, where the same lock resolves sharp 0.35.5 and @img/sharp-libvips 1.3.4 (rsvg 2.63.2). What this changes: package.json — next ^13.2.4 (line 44) -> ^15.5.28 and next-auth ^4.22.1 (line 45) -> ^4.24.15; next-auth 4.24.15 is the Next 15 peer-compatible release - 4.24.7 declares next ^12.2.5 || ^13 || ^14 and 4.24.15 declares next ^12.2.5 || ^13 || ^14 || ^15 || ^16 - so the old peer range stops below Next 15; every other dependency and every script is unchanged pnpm-lock.yaml — next 13.5.6 re-resolved to 15.5.28 and next-auth 4.24.7 to 4.24.15; next-auth 4.24.15 also adds uuid 11.1.1 while the application's declared uuid ^9.0.0 still resolves separately at 9.0.1; the lock also resolves next 15's optional sharp 0.35.5 and @img/sharp-libvips 1.3.4, with no next 13 entry left. sharp 0.35.5 requires Node >= 20.9 and is skipped as an optional dependency on the node:18-alpine image these Dockerfiles build, so this PR does not install a decoder in that image and does not fix a decoder exploit there; on Node >= 20.9 the same lock resolves sharp 0.35.5 and @img/sharp-libvips 1.3.4 (rsvg 2.63.2) src/pages/api/chat.ts — the base file's req.ip, removed in Next 15, becomes getClientIp(req): x-forwarded-for's first entry, then x-real-ip, else "unknown", for the OpenAI user hint only; the prompt, model and streaming code is untouched pnpm-workspace.yaml — new file: the version-pinned Prisma allowBuilds policy that the repository's pnpm 12 frozen CI install requires. CI and both Dockerfile deps stages run pnpm i --frozen-lockfile with build scripts enabled, and pnpm 12 exits 1 with ERR_PNPM_IGNORED_BUILDS unless every package whose lifecycle script it would run is declared; this map approves exactly @prisma/client@4.13.0 (its postinstall runs prisma generate) and @prisma/engines@4.16.2 (its postinstall fetches the query and migration engines) and lists prisma@4.16.2 and fsevents@2.3.3 as false. The name@version keys pin each approval to the reviewed lockfile's exact version, so no future release of those packages is approved by name. Every other package's build script stays unapproved, and pnpm 11+'s default strictDepBuilds: true still fails the install rather than run a script nobody reviewed Dockerfile — the shared base stage now runs RUN apk add --no-cache openssl immediately after FROM node:18-alpine AS base, so the deps postinstall, the builder's prisma generate and the runner all detect OpenSSL and select Prisma's openssl-3.0.x musl engine instead of the openssl-1.1.x build the image cannot load; the deps-stage COPY additionally includes pnpm-workspace.yaml beside package.json and pnpm-lock.yaml*, so the image's pnpm i --frozen-lockfile sees the same build-script policy; every other line is unchanged Dockerfile.sqlchat-ai — the same shared-base RUN apk add --no-cache openssl line and the same deps-stage COPY change as Dockerfile, in the www.sqlchat.ai variant, whose deps stage previously installed only libc6-compat and therefore selected Prisma's openssl-1.1.x musl engine; every other line is unchanged How to verify: pnpm install --frozen-lockfile # exits 0 with this pnpm-workspace.yaml: only @prisma/client@4.13.0 and @prisma/engines@4.16.2 may run scripts and both do; the Prisma client is generated and, with openssl installed, its engine loads. Measured on node 18.20.8 and node 22 with pnpm 12.15.0 and pnpm 10.30.3 # controls: without the policy the same install exits 1 with ERR_PNPM_IGNORED_BUILDS naming @prisma/client@4.13.0, @prisma/engines@4.16.2 and prisma@4.16.2; removing the '@prisma/engines@4.16.2' entry exits 1 naming exactly that entry # Prisma engine-selection control (stock node:18-alpine, no image involved): on stock node:18-alpine with openssl, @prisma/client's postinstall generates libquery_engine-linux-musl-openssl-3.0.x.so.node and new PrismaClient().$disconnect() exits 0; on the bare image it generates libquery_engine-linux-musl.so.node and $disconnect() exits 1 with "Error loading shared library libssl.so.1.1", so openssl must be present in every stage that detects or loads the engine - this patch puts it in the shared base stage that deps, builder and runner all inherit # without the openssl binary the same generated client exits 1 with "Query engine library for current platform could not be found"; nft 0.27.10 (the tracer Next 15.5.28 bundles) traces node_modules/.pnpm/@prisma+client@4.13.0_prisma@4.16.2/node_modules/.prisma/client/libquery_engine-*.so.node into the standalone file list, so no outputFileTracingIncludes is needed node -p "require('next/package.json').version" pnpm lint pnpm exec tsc --noEmit # only pre-existing diagnostics: the patched tree's log is byte-identical to 85af0b4 without this patch docker build --network host -f Dockerfile -t sqlchat-176:dockerfile . # this prepared Dockerfile was built once in a Linux amd64 build environment (Docker 29.6.1), exit 0: @prisma/client and @prisma/engines are the only packages whose build scripts run, prisma generate selects libquery_engine-linux-musl-openssl-3.0.x.so.node with no libssl-detection fallback warning, and next 15.5.28 compiles docker build --network host -f Dockerfile.sqlchat-ai -t sqlchat-176:sqlchat-ai . # this prepared Dockerfile was built once in the same Linux amd64 build environment, exit 0, reusing the same shared-base openssl layer (base 2/2 CACHED) docker run -d --name sqlchat-176-run-df --network host -e PORT=3811 -e HOSTNAME=127.0.0.1 sqlchat-176:dockerfile && curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3811/ # 200, 2272 bytes: the standalone runner starts (Next.js 15.5.28, Ready in 140 ms) and serves the statically rendered home page, which has no getServerSideProps; the Dockerfile.sqlchat-ai runner returned the same 200 docker exec -u nextjs -w /app sqlchat-176-run-df node -e 'const {PrismaClient}=require("@prisma/client"); const p=new PrismaClient(); p.$disconnect().then(()=>console.log("ENGINE_LOADED_AND_DISCONNECTED")).catch(e=>{console.log("ENGINE_LOAD_ERR",e.message);process.exit(3)})' # ENGINE_LOADED_AND_DISCONNECTED, exit 0 in both runners: Prisma 4.13.0 locates and loads the musl openssl-3.0.x engine as nextjs without opening a database connection # limits: no database connection or query ($disconnect() only); linux/amd64 only, no arm64 or multi-arch build; the published docker.io/sqlchat/sqlchat image was not re-checked, because this is a locally built image from the prepared artifact Automated security patch from Superbot.

Open Graph Description: Updates next from 13.5.6 to 15.5.28. Fixes GHSA-2464-fhr4-w9xw — a critical unauthenticated remote code execution in the Next.js Image Optimization API when SVG files are used on glibc-based Linux ...

X Description: Updates next from 13.5.6 to 15.5.28. Fixes GHSA-2464-fhr4-w9xw — a critical unauthenticated remote code execution in the Next.js Image Optimization API when SVG files are used on glibc-based Linux ...

Opengraph URL: https://github.com/sqlchat/sqlchat/pull/194

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c3cfe9f2-11a2-3533-ec96-caf4e1906fbf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3CE:29272F:70DBFC:9A0C67:6B0477B4
html-safe-noncec182aa5b2284364c29f059e567b22493f48f1f7e894d857435cf4a48b0572ae3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0NFOjI5MjcyRjo3MERCRkM6OUEwQzY3OjZCMDQ3N0I0IiwidmlzaXRvcl9pZCI6IjU2MDM5MjI3NDM3Njc4ODk4NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfbc0c3f28f55dbeb451998011c53fc15ec8eca196efdcdfaa74582b957acaa75
hovercard-subject-tagpull_request:5040670743
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlchat/sqlchat/pull/194/files
twitter:imagehttps://avatars.githubusercontent.com/u/5358899?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5358899?s=400&v=4
og:image:altUpdates next from 13.5.6 to 15.5.28. Fixes GHSA-2464-fhr4-w9xw — a critical unauthenticated remote code execution in the Next.js Image Optimization API when SVG files are used on glibc-based Linux ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sqlchat/sqlchat git https://github.com/sqlchat/sqlchat.git
octolytics-dimension-user_id128299021
octolytics-dimension-user_loginsqlchat
octolytics-dimension-repository_id614656648
octolytics-dimension-repository_nwosqlchat/sqlchat
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id614656648
octolytics-dimension-repository_network_root_nwosqlchat/sqlchat
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlchat/sqlchat/pull/194/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F194%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F194%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlchat%2Fsqlchat
Reloadhttps://github.com/sqlchat/sqlchat/pull/194/files
Reloadhttps://github.com/sqlchat/sqlchat/pull/194/files
Reloadhttps://github.com/sqlchat/sqlchat/pull/194/files
sqlchathttps://github.com/sqlchat
sqlchathttps://github.com/sqlchat/sqlchat
Codehttps://github.com/sqlchat/sqlchat
Issues23 (23)https://github.com/sqlchat/sqlchat/issues
Pull requests2 (2)https://github.com/sqlchat/sqlchat/pulls
Actionshttps://github.com/sqlchat/sqlchat/actions
Security and qualityhttps://github.com/sqlchat/sqlchat/security
Insightshttps://github.com/sqlchat/sqlchat/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fsqlchat%2Fsqlchat%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsqlchat%2Fsqlchat%2Fissues%2Fnew%2Fchoose
superbot-helperhttps://github.com/superbot-helper
sqlchat:mainhttps://github.com/sqlchat/sqlchat/tree/main
superbot-helper:security/bump-next-15.5.28https://github.com/superbot-helper/sqlchat/tree/security/bump-next-15.5.28
Conversation 0 https://github.com/sqlchat/sqlchat/pull/194
Commits 1 https://github.com/sqlchat/sqlchat/pull/194/commits
Checks 0 https://github.com/sqlchat/sqlchat/pull/194/checks
Files changed https://github.com/sqlchat/sqlchat/pull/194/files
Please reload this pagehttps://github.com/sqlchat/sqlchat/pull/194/files
Bump next from 13.5.6 to 15.5.28 [SECURITY] https://github.com/sqlchat/sqlchat/pull/194/files#top
Show all changes 1 commit https://github.com/sqlchat/sqlchat/pull/194/files
3a6e08b Bump next to 15.5.28 for image optimizer security superbot-helper Oct 27, 2026 https://github.com/sqlchat/sqlchat/pull/194/commits/3a6e08b982cf71d05244167d613e13e24091d809
Clear filters https://github.com/sqlchat/sqlchat/pull/194/files
Please reload this pagehttps://github.com/sqlchat/sqlchat/pull/194/files
Please reload this pagehttps://github.com/sqlchat/sqlchat/pull/194/files
Dockerfile https://github.com/sqlchat/sqlchat/pull/194/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
Dockerfile.sqlchat-ai https://github.com/sqlchat/sqlchat/pull/194/files#diff-7b9a87ab3436effe03af9f43653c11f7c9abc34d31f2a06fb60b71ff95261814
package.json https://github.com/sqlchat/sqlchat/pull/194/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
pnpm-lock.yaml https://github.com/sqlchat/sqlchat/pull/194/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bb
pnpm-workspace.yaml https://github.com/sqlchat/sqlchat/pull/194/files#diff-18ae0a0fab29a7db7aded913fd05f30a2c8f6c104fadae86c9d217091709794c
chat.ts https://github.com/sqlchat/sqlchat/pull/194/files#diff-77e8eddb3460b35c44e1622cb72c6d0ec0096f3aaced92baec30f1d4a931aa01
https://github.com/sqlchat/sqlchat/blob/main/CODEOWNERS#L2
Dockerfilehttps://github.com/sqlchat/sqlchat/pull/194/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
View file https://github.com/sqlchat/sqlchat/blob/3a6e08b982cf71d05244167d613e13e24091d809/Dockerfile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlchat/sqlchat/pull/194/{{ revealButtonHref }}
https://github.com/sqlchat/sqlchat/pull/194/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
https://github.com/sqlchat/sqlchat/blob/main/CODEOWNERS#L2
Dockerfile.sqlchat-aihttps://github.com/sqlchat/sqlchat/pull/194/files#diff-7b9a87ab3436effe03af9f43653c11f7c9abc34d31f2a06fb60b71ff95261814
View file https://github.com/sqlchat/sqlchat/blob/3a6e08b982cf71d05244167d613e13e24091d809/Dockerfile.sqlchat-ai
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlchat/sqlchat/pull/194/{{ revealButtonHref }}
https://github.com/sqlchat/sqlchat/pull/194/files#diff-7b9a87ab3436effe03af9f43653c11f7c9abc34d31f2a06fb60b71ff95261814
https://github.com/sqlchat/sqlchat/blob/main/CODEOWNERS#L2
package.jsonhttps://github.com/sqlchat/sqlchat/pull/194/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/sqlchat/sqlchat/blob/3a6e08b982cf71d05244167d613e13e24091d809/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlchat/sqlchat/pull/194/{{ revealButtonHref }}
https://github.com/sqlchat/sqlchat/pull/194/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/sqlchat/sqlchat/pull/194/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
Please reload this pagehttps://github.com/sqlchat/sqlchat/pull/194/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.