Commit 1dfe99f
Security: Restrict allowed classes in Sequence::getUnSerializeGraph()
Refs GHSA-2c5g-hrhg-44vg
Route Sequence::getUnSerializeGraph() through UnserializeApi::unserialize()
with the existing 'sequence_graph' type, which restricts instantiation to
the Fhaculty\Graph classes that legitimately compose a serialized sequence
graph. This closes the PHP Object Injection path that allowed arbitrary
class instantiation from the sequence.graph column, reusing the codebase's
canonical allowlisted-deserialization helper.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 516d87e commit 1dfe99f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments