Skip to content

[VULNERABILITY] Fix bypassing superClass blacklisted fields - #612

Merged
AbnormalPoof merged 1 commit into
FunkinCrew:developfrom
ahmed7p:fix-bypass-1
Nov 23, 2026
Merged

AbnormalPoof merged 1 commit into
FunkinCrew:developfrom
ahmed7p:fix-bypass-1

Conversation

@ahmed7p

@ahmed7p ahmed7p commented Nov 22, 2026 •

Copy link
Copy Markdown

Description

Checks PolymodScriptClass.blacklistedInstanceFieldsOf(oCls) before reading or writing fields on this.superClass in PolymodAbstractScriptClass, returning this._interp.error(EBlacklistedField(name)) when a field is blacklisted.

Previously, accessing or setting fields via this.superClass could bypass field blacklist checks and obtain restricted types.

Example

Using a custom ByteArrayData subclass (ByteArrayResolver) that overrides readUTF() to return "Ay4:Type" and calls readObject() internally to unserialize Type without triggering external sandbox checks, then calling resolveClass(name) on it:
image

@AbnormalPoof
AbnormalPoof merged commit 17ae665 into FunkinCrew:develop Nov 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants