fix(deps): update dependency elysia to v1.4.27 [security] - #33
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency elysia to v1.4.27 [security]#33renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
December 31, 2025 15:51
7294840 to
c8fb2eb
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
February 2, 2026 21:33
c8fb2eb to
33f17bf
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
2 times, most recently
from
February 17, 2026 17:38
e161f42 to
495c520
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
March 11, 2026 01:35
495c520 to
34a6c9b
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
2 times, most recently
from
March 17, 2026 16:52
82237d3 to
fede82a
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
March 26, 2026 17:10
fede82a to
e1a2027
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
2 times, most recently
from
March 30, 2026 21:41
e1a2027 to
c351d46
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
April 27, 2026 20:56
c351d46 to
03c1084
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
May 18, 2026 10:15
03c1084 to
f04b5da
Compare
renovate
Bot
force-pushed
the
renovate/npm-elysia-vulnerability
branch
from
July 21, 2026 01:40
f04b5da to
c09da4f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.17→1.4.27Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Elysia affected by arbitrary code injection through cookie config
CVE-2025-66457 / GHSA-8vch-m3f4-q8jf
More information
Details
Arbitrary code execution from cookie config. If dynamic cookies are enabled (ie there exists a schema for cookies), the cookie config is injected into the compiled route without first being sanitised.
Availability of this exploit is generally low, as it requires write access to either the Elysia app's source code (in which case the vulnerability is meaningless) or write access to the cookie config (perhaps where it is assumed to be provisioned by the environment).
However when combined with GHSA-hxj9-33pp-j2cc, this vulnerability allows for a full RCE chain.
Impact
Example of vulnerable code
POC: https://github.com/sportshead/elysia-poc
Patches
Patched by 1.4.17 (https://github.com/elysiajs/elysia/pull/1564)
Reference commit:
Workarounds
Sanitize cookie-related env input
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Elysia has a string URL format ReDoS
CVE-2026-30837 / GHSA-f45g-68q3-5w8x
More information
Details
Impact
t.String({ format: 'url' })is vulnerable to redosRepeating a partial url format (protocol and hostname) multiple times cause regex to slow down significantly
Here's a table demonstrating how long it takes to process repeated partial url format
nrepeatPatches
Patched by 1.4.26, please kindly update
elysiato >= 1.4.26Here's how long it takes after the patch
nrepeatWorkarounds
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Elysia Cookie Value Prototype Pollution
CVE-2026-31865 / GHSA-8hq9-phh3-p2wp
More information
Details
Impact
Elysia cookie can be overridden by prototype pollution , eg.
__proto__Sending cookie with the follows name can override cookie value:
Patches
Patched by 1.4.27
Workarounds
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
elysiajs/elysia (elysia)
v1.4.27Compare Source
Bug fix:
Improvement:
v1.4.26Compare Source
Bug fix:
v1.4.25Compare Source
Feature:
Bug fix:
v1.4.24Compare Source
Feature:
Bug fix:
v1.4.23Compare Source
Feature:
Bug fix:
Change:
v1.4.22Compare Source
Improvement:
replaceURLPathinstead of allocatingnew URLBug fix:
mapCompactResponsecausing runtime crash with undefined variablev1.4.21Compare Source
Improvement:
Bug fix:
v1.4.20Compare Source
Improvement:
ModelValidator.schemafor accessing raw schemasubscriptionstoElysia.wscontextBug fix:
Bug fix:
Elysia.modelsbroke when referencing non typebox modelv1.4.19Compare Source
Security:
Improvement
Elysia.fetchfor up to 45x performance improvementBug fix:
v1.4.18Compare Source
Security:
JSON.stringifyover custom escape implementationv1.4.17Compare Source
Improvement:
Serveris always resolved toanywhen@types/bunis missingSecurity:
Bug fix:
Change:
c.requestto handler for streaming responsecontentTypetype onparserv1.4.16Compare Source
Improvement:
messageValueas an alias oferrorValueallowUnsafeValidatorDetailsintrospectBug fix:
v1.4.15Compare Source
Bug fix:
v1.4.14Compare Source
Feature:
PrettifyChange:
Prettify2,Partial2v1.4.13Compare Source
Feature:
allowUnsafeValidationDetailsfor disabling unsafe validation details in production modeELYSIA_RAPID_STREAMis setafterResponsenow wait for generator stream to finishhandle, andafterResponsenow wait for generator stream to finishBug fix:
InvalidFileTypefrom rootChange:
@types/bunan optional dependencyv1.4.12Compare Source
Improvement:
v1.4.11Compare Source
Bug fix:
onErrorfile-typenon optional dependency to fix default build problemv1.4.10Compare Source
Bug fix:
cryptorandomUUID if not available (eg. iOS Safari)Change:
Elysia.filereadstream value is now IIFE to re-readv1.4.9Compare Source
Improvement:
Sucrose.Settingsv1.4.8Compare Source
Improvement:
Bun.hashfrom checksum calculationChange:
file-typeoptional to reduce bundle sizev1.4.7Compare Source
Feature:
adapter/cloudflare-workerElysiaAdapter.beforeCompileChange:
guard,groupprocess.getBuiltinModuleinstead of dynamic import for fileElysia.file.valueon Web Standard Adapter now is not a promisev1.4.6Compare Source
Improvement:
BunHTMLBundleLiketo Elysia inline handlerChange:
Bug fix:
v1.4.5Compare Source
Improvement:
Bug fix:
Breaking Change:
t.Refby defaultv1.4.4Compare Source
Bug fix:
v1.4.3Compare Source
Bug fix:
mapValueErrorshould return all possible value both in dev environment and production environmentv1.4.2Compare Source
Bug fix:
multipart/form-datawith.getinstead of.getAllfor faster performancev1.4.1Compare Source
Security:
Improvement
Elysia.fetchfor up to 45x performance improvementBug fix:
v1.4.0Compare Source
Feature:
Improvement
Change
fileTypefor external file type validation for accurate responseBreaking Change
errorfunction, usestatusinsteadresponseinmapResponse,afterResponse, useresponseValueinsteaduser[], uset.Array(t.Ref('user'))insteadv1.3.21Compare Source
Bug fix:
v1.3.20Compare Source
Change:
Elysia.filein Web Standard Adapterv1.3.19Compare Source
Change:
Responseproxy as-isBug fix:
v1.3.18Compare Source
Bug fix:
ReadableStreamis not pass tohandleStreaminmapCompactResponse, andmapEarlyResponsev1.3.17Compare Source
Bug fix:
v1.3.16Compare Source
Improvement:
ssenow infer typessenow acceptsReadableStreamto return stream astext/event-streamReadableStreamfrom generator or async generatorChange:
Bug fix:
v1.3.15Compare Source
Bug fix:
v1.3.14Compare Source
Improvement:
ValidationError.withDetailwithDetailfor additional error informationv1.3.13Compare Source
Bug fix:
Change:
exact-mirrorto0.1.6v1.3.12Compare Source
Bug fix:
v1.3.11Compare Source
Bug fix:
v1.3.10Compare Source
Bug fix:
v1.3.9Compare Source
Feature:
t.ArrayBuffer,t.Uint8ArrayBug fix:
deriveandresolveshouldn't callonErrorImprovement:
finallyfrom composeNotFoundErrorshould parse query if inferredonRequest, andonErrorElysiaCustomStatusResponseChange:
v1.3.8Compare Source
Improvement:
set.headerseg. corsContent-Type,Content-Rangeof ElysiaFileBug fix:
settohandleFilewhen file isElysiaFileElysiaFileElysiaAdapter.stopoptionalv1.3.7Compare Source
Bug fix:
Change:
v1.3.6Compare Source
Improvement:
Bug fix:
v1.3.5Compare Source
Bug fix:
v1.3.4Compare Source
Feature:
Bug fix:
Change:
text/plainorapplication/jsonbased on the response typev1.3.3Compare Source
Bug fix:
ElysiaFilewhen not using Bunadapter/utilsv1.3.2Compare Source
Bug fix:
v1.3.1Compare Source
Change:
Responseproxy as-isBug fix:
v1.3.0Compare Source
Feature:
exactMirrorsystemRouterconfigstandalone ValidatorElysia.Reffor referencing schema with autocompletion instead oft.Reft.Form,t.NoValidatefile-typeto check file typeINVALID_FILE_TYPEerrorsanitizeoptionsImprovement:
encodeSchemanow stable and enabled by default_typesinto~Typesapp.router.static, and move static router code generation to compile phaseadd,_use, and some utility functionsParseErrornow keeps stack traceparseQueryandparseQueryFromURLconfigoptions tomountBug fix:
Responsereturned fromonErroris using octet streammergeObjectArrayChange:
c.requestto mapResponse whenmaybeStreamis truerouteTreeinstead ofMapcompressHistoryHookanddecompressHistoryHooktext/plainif not on Bundecorateunless explicitly specifiedElysia.mountnow setdetail.hide = trueby defaultBreaking Change:
as('plugin')in favor ofas('scoped')indexfor Eden TreatywebsocketfromElysiaAdapterinference.requestv1.2.25Compare Source
Bug fix:
v1.2.24Compare Source
Bug fix:
v1.2.23Compare Source
Bug fix:
v1.2.22Compare Source
Bug fix:
v1.2.21Compare Source
Bug fix:
v1.2.20Compare Source
Bug fix:
v1.2.19Compare Source
Bug fix:
v1.2.18Compare Source
Bug fix:
v1.2.17Compare Source
Bug fix:
.mountdoesn't return pass entire requestv1.2.16Compare Source
Improvement:
AfterHandlerinfer response typeChange:
@sinclair/typeboxto0.34.27Bug fix:
*experimental.encodeSchemafor customTransformEncode typev1.2.15Compare Source
Bug fix:
Transforminsidet.ArrayinhasTransformImprovement:
hasTransformhasTransformnow supports Union, IntersectdecodeURIComponentin nested queryv1.2.14Compare Source
Feature:
t.Array(t.String())Improvement:
replaceSchemaTypeBreaking Change:
Elysia.modulesnow return voidv1.2.13Compare Source
Improvement:
Bug fix:
v1.2.12Compare Source
Bug fix:
v1.2.11Compare Source
Feature:
Change:
Bug fix:
v1.2.10Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.